Skip to content

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

License

Notifications You must be signed in to change notification settings

yashsuthar00/ChatBot-FlaskApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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:

    git clone https://github.com/yourusername/ChatBot-FlaskApp.git
    cd ChatBot-FlaskApp
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate   # On Windows, use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Run the Flask application:

    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

Screenshot 2024-08-15 040518

Screenshot 2024-08-15 040536

Demo Video

Date.15-August-2024.TIME.03-59-21.AM.August.mp4

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 file for details.


About

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

Topics

Resources

License

Stars

Watchers

Forks