A sophisticated chatbot system built with Python, leveraging modern NLP techniques and deep learning for intelligent conversation handling. The system processes user inputs, generates contextually relevant responses, and maintains conversation history.
This project implements an AI-powered chatbot with a modern web interface. The system uses advanced natural language processing techniques to understand user queries and generate appropriate responses. The implementation includes a Flask-based web server, a deep learning model for response generation, and a clean, responsive user interface.
The chatbot is trained on a comprehensive dataset containing prompt-response pairs. Here are key statistics from our dataset:
The dataset has been analyzed for various metrics including length distribution and word counts. Below are the visualization results:
git clone https://github.com/Ahmadjamil888/GOLDFISH_AI_ASSISTANT.git
cd my-smart-ai-chatbot
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
python app/app.py
http://localhost:5000
my-smart-ai-chatbot/
├── app/
│ ├── app.py
│ └── templates/
│ └── chat.html
├── data/
│ ├── cleaned_dataset.csv
│ ├── tokenized_prompts.pkl
│ ├── tokenized_responses.pkl
│ └── plots/
├── model/
│ ├── infer.py
│ └── model_weights.pth
├── utils/
│ ├── tokenizer.py
│ └── visualize_data.py
├── requirements.txt
└── README.md
app/app.py
: Main Flask applicationapp/templates/chat.html
: Web interface templatemodel/infer.py
: Model inference implementationutils/
: Utility functions and toolsdata/
: Dataset and visualization storageThe project includes comprehensive data visualization tools:
To generate visualizations:
python utils/visualize_data.py
This will create plots in the data/plots/
directory and display summary statistics.