Fuze is a modern AI-powered chatbot built using PyTorch, Django, and a custom-trained intent classification model. It also integrates external APIs like Wikipedia to respond intelligently to user queries.
- 💬 Intent-based NLP chatbot with PyTorch
- 📚 Wikipedia integration (via
wikipediaPython package) - 🔥 Django backend + AJAX-based chat
- 🎓 Trained on custom
intents.json - 🎯 100% accuracy on training dataset
| Layer | Tech |
|---|---|
| Backend | Django, PyTorch |
| Frontend | HTML, CSS, jQuery (AJAX) |
| NLP Tools | NLTK, NumPy, Wikipedia API |
chatbot/ ├── chat/ # Django app │ ├── templates/ # chat.html frontend │ ├── static/ # CSS and assets │ ├── model.py # PyTorch NeuralNet class │ ├── nltk_utils.py # Tokenization & bag-of-words │ ├── train.py # Model training script │ ├── views.py # Core chatbot logic │ ├── intents.json # Dataset for training │ └── data.pth # Trained model ├── chatbot/ # Django project settings ├── manage.py └── README.md
git clone https://github.com/your-username/chatbot.git
cd chatbot
python -m venv env source env/bin/activate # macOS/Linux env\Scripts\activate.bat # Windows
pip install -r requirements.txtcd chat
python train.py#This will generate data.pth — the trained model saved to disk.
cd chatbot
python manage.py runserver