Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yashsuthar00/chatbot-flaskapp

ChatBot-FlaskApp: A simple Flask-based chatbot application with basic conversational features. Interact with the bot using various commands and questions.
https://github.com/yashsuthar00/chatbot-flaskapp

chatbot flask project python

Last synced: about 19 hours ago
JSON representation

ChatBot-FlaskApp: A simple Flask-based chatbot application with basic conversational features. Interact with the bot using various commands and questions.

Awesome Lists containing this project

README

        

---

# ChatBot-FlaskApp

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.

## Features

- Simple and intuitive user interface
- Text-based interaction with the chatbot
- Easy to deploy and run locally

## Technologies Used

- **Flask**: A lightweight WSGI web application framework in Python.
- **HTML/CSS**: For creating the user interface.
- **JavaScript**: For handling frontend interactions.

## Installation

Follow these steps to set up the project on your local machine:

1. **Clone the repository**:
```bash
git clone https://github.com/yourusername/ChatBot-FlaskApp.git
cd ChatBot-FlaskApp
```

2. **Create a virtual environment** (optional but recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
```

3. **Install the dependencies**:
```bash
pip install -r requirements.txt
```

4. **Run the Flask application**:
```bash
python app.py
```

5. **Access the application**:
Open your web browser and go to `http://127.0.0.1:5000/` to interact with the chatbot.

## Usage

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.

### Command List

Here are some commands you can try with the chatbot:

1. "hello"
2. "hi"
3. "hii"
4. "hey"
5. "see you"
6. "goodbye"
7. "bye"
8. "nice to meet you"
9. "how to learn python in class?"
10. "marks how can I get?"
11. "how are you?"
12. "does ma'am likes my project?"
13. "get my python marks"
14. "what is your name?"
15. "I am tired"
16. "I need help"
17. "what time is it?"
18. "good morning"
19. "good night"
20. "what is AI?"
21. "tell me a joke"
22. "what is the weather?"
23. "I am hungry"
24. "what is love?"
25. "do you know java?"

## Screenshots

![Screenshot 2024-08-15 040457](https://github.com/user-attachments/assets/0fbae684-3479-4fd1-bbed-a82fa8c206a1)

![Screenshot 2024-08-15 040518](https://github.com/user-attachments/assets/62053eb9-5454-4adf-ad7a-435f36bc7d7e)

![Screenshot 2024-08-15 040536](https://github.com/user-attachments/assets/14686800-4c8f-438f-be75-afbaf065e133)

## Demo Video

https://github.com/user-attachments/assets/dfe51eea-d90f-4553-886c-1b0346e89317

## Contributing

If you'd like to contribute to this project, please fork the repository and use a feature branch. Pull requests are welcome.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---