ChatAK is an AI-powered chatbot built from scratch, leveraging deep learning and neural networks for personalized responses. It uses Python's PyTorch library and is trained on custom datasets to predict user-specific replies.
app-description.mp4
- Clone the Repository:
git clone https://github.com/python-engineer/chatbot-deployment.git cd chatbot-deployment - Create a Virtual Environment:
python -m venv venv source venv/Scripts/activate - Install Dependencies:
pip install Flask torch torchvision nltk
- Download NLTK Package:
>>> import nltk >>> nltk.download('punkt') - Customize Chatbot:
Edit
intents.jsonto add your intents and responses. - Train Model:
python train.py
- Test Locally:
python chat.py
- Python with PyTorch
- Flask for backend
- JavaScript for frontend
- Heroku for deployment
- nltk for text processing
train.py: Training script for the chatbot model.
chat.py: Console-based testing.
intents.json: Stores intents and responses.
static/: Frontend files.
templates/: HTML templates for the web interface.
data.pth: Trained model file.
Happy Chatting! 🎉 Try it here