A mini chatbot project built using the Flask framework. This project demonstrates how to create a simple conversational bot that interacts with users and responds to their queries. It's a great starting point for understanding the basics of web development with Flask and integrating basic chatbot functionality.
- Simple and intuitive user interface
- Text-based interaction with the chatbot
- Easy to deploy and run locally
- Flask: A lightweight WSGI web application framework in Python.
- HTML/CSS: For creating the user interface.
- JavaScript: For handling frontend interactions.
Follow these steps to set up the project on your local machine:
-
Clone the repository:
git clone https://github.com/yourusername/ChatBot-FlaskApp.git cd ChatBot-FlaskApp
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Access the application: Open your web browser and go to
http://127.0.0.1:5000/
to interact with the chatbot.
After running the Flask application, you can start chatting with the bot by typing messages into the input field and hitting "Send". The bot will respond to your queries based on the logic implemented in the Flask application.
Here are some commands you can try with the chatbot:
- "hello"
- "hi"
- "hii"
- "hey"
- "see you"
- "goodbye"
- "bye"
- "nice to meet you"
- "how to learn python in class?"
- "marks how can I get?"
- "how are you?"
- "does ma'am likes my project?"
- "get my python marks"
- "what is your name?"
- "I am tired"
- "I need help"
- "what time is it?"
- "good morning"
- "good night"
- "what is AI?"
- "tell me a joke"
- "what is the weather?"
- "I am hungry"
- "what is love?"
- "do you know java?"
Date.15-August-2024.TIME.03-59-21.AM.August.mp4
If you'd like to contribute to this project, please fork the repository and use a feature branch. Pull requests are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.