This is a simple Python chatbot created using the ChatterBot library. The chatbot is trained on the English language corpus data and can respond to user input with pre-learned responses.
To run the chatbot on your local machine, you need to have Python and the required libraries installed. You can install the necessary dependencies using pip:
pip install chatterbot pip install chatterbot_corpus
To use the chatbot, follow these steps:
-
Clone this repository to your local machine or download the ZIP file.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the Python script: chatbot.py
-
The chatbot will start running, and you can interact with it by typing your messages. To exit the chatbot, type "exit."
You: Hello ChatBot: Hi there! You: What is your name? ChatBot: I am just a chatbot. You: How are you? ChatBot: I'm doing fine, thank you! You: exit ChatBot: Goodbye!
If you find any issues with the chatbot or have ideas for improvements, feel free to open an issue or submit a pull request. Contributions are welcome!