Skip to content

A ChatBot developed using Flask and NLP techniques for automated responses.

License

Notifications You must be signed in to change notification settings

amanhex/Chat-Assist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-Assist 👥🤖

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. 💬🔍

forthebadge   forthebadge   forthebadge  

Prerequisites 📋

  • Python 3.x 🐍
  • Flask 🌐
  • scikit-learn 🧠
  • NLTK 📚

Installation ⚙️

  1. Clone the repository:
git clone https://github.com/amanhex/Chat-Assist.git
  1. Navigate to the project directory:
cd Chat-Assist
  1. Install the required dependencies:
pip install -r requirements.txt

Usage 🚀

  1. Prepare the training data by updating the data.txt file with question-answer pairs.
  2. Run the Flask server:
python app.py
  1. Open your web browser and go to http://localhost:5000 to access the chatbot interface.
  2. Enter your query and receive automated responses from the chatbot.

Customization 🎨

  • 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.

Contributing 🤝

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.

License 📄

MIT License
This project is licensed under the MIT License.

Author

About

A ChatBot developed using Flask and NLP techniques for automated responses.

Topics

Resources

License

Stars

Watchers

Forks