https://github.com/bdeekshith066/custom-chatbot
This repository contains a Python-based chatbot utilizing message recognition techniques to generate tailored responses based on user input.
https://github.com/bdeekshith066/custom-chatbot
bot chatbot python
Last synced: over 1 year ago
JSON representation
This repository contains a Python-based chatbot utilizing message recognition techniques to generate tailored responses based on user input.
- Host: GitHub
- URL: https://github.com/bdeekshith066/custom-chatbot
- Owner: bdeekshith066
- License: mit
- Created: 2023-12-31T07:20:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T19:04:50.000Z (over 2 years ago)
- Last Synced: 2024-02-24T20:24:23.197Z (over 2 years ago)
- Topics: bot, chatbot, python
- Language: Python
- Homepage: https://www.linkedin.com/posts/deekshith2912_aichatbot-futuretech-python-activity-7137441519560507392-Cri5?utm_source=share&utm_medium=member_desktop
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ChatBot with Message Recognition
This repository contains a simple chatbot implemented in Python that utilizes message recognition techniques to generate appropriate responses based on user input. The chatbot is designed to engage in conversations on various topics and respond accordingly.
### Features:
- **Message Recognition:** The chatbot analyzes user messages using predefined word lists to determine the probability of specific topics being mentioned.
- **Response Generation:** Based on the analysis of user messages, the chatbot generates responses tailored to the recognized topics.
- **Customizable Responses:** Responses can be easily customized and expanded by adding new predefined messages along with associated word lists.
- **Unknown Query Handling:** If the user input does not match any predefined messages, the chatbot provides a random response to prompt for clarification.
### How it works:
1. **Message Analysis:** User input is split into individual words and compared against predefined word lists associated with potential topics.
2. **Probability Calculation:** The chatbot calculates the probability of each predefined message based on the presence of recognized words in the user input.
3. **Response Selection:** The chatbot selects the response with the highest probability or provides an unknown response if no matches are found.
### Usage:
To use the chatbot, simply run the provided Python script. The chatbot will prompt you to input a message, to which it will respond accordingly based on the recognized topics.
### Contribution:
Contributions to this project are welcome! If you have ideas for improving the chatbot's functionality, adding new features, or enhancing its performance, feel free to submit a pull request.
## Author
- [Deekshith B](https://www.linkedin.com/in/deekshith2912/)
### License:
This project is licensed under the [MIT License](LICENSE).