This project is a Flask-based chatbot that uses natural language processing techniques for automated responses. It utilizes TF-IDF vectorization and cosine similarity to compute the similarity between user input and preprocessed training data. The chatbot provides responses based on the most similar questions in the training data. 💬🔍
- Python 3.x 🐍
- Flask 🌐
- scikit-learn 🧠
- NLTK 📚
- Clone the repository:
git clone https://github.com/amanhex/Chat-Assist.git
- Navigate to the project directory:
cd Chat-Assist
- Install the required dependencies:
pip install -r requirements.txt
- Prepare the training data by updating the data.txt file with question-answer pairs.
- Run the Flask server:
python app.py
- Open your web browser and go to http://localhost:5000 to access the chatbot interface.
- Enter your query and receive automated responses from the chatbot.
- To customize the chatbot's behavior, you can modify the training data in the data.txt file.
- Additionally, you can adjust the similarity threshold in the get_chatbot_response() function in app.py to control the response accuracy.
Contributions are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
- Amanhex - https://github.com/amanhex