How to Build an AI Chatbot from Scratch: A Step-by-Step Guide for Businesses