https://github.com/abhinavsharma07/chatbot-x
https://github.com/abhinavsharma07/chatbot-x
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhinavsharma07/chatbot-x
- Owner: AbhinavSharma07
- Created: 2023-08-10T18:47:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T17:31:29.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T19:28:08.097Z (9 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RAW-Chatbot..
Welcome to the RAW-Chatbot repository! This Python program simulates a simple text-based chatbot capable of engaging in conversations with users. It utilizes natural language processing techniques to understand user inputs and provide relevant responses.
## Features
- Responds to user input with predefined, random, and context-specific responses.
- Utilizes TF-IDF vectorization and cosine similarity for response selection.
- Incorporates greetings and knowledge base for context-aware conversations.## Getting Started
1. Clone the repository to your local machine.
2. Install the necessary dependencies using `nltk` and `scikit-learn`. You can install them using the command: `pip install nltk scikit-learn`.
3. Customize the `corpus`, `random_responses`, `knowledge_base`, and `greetings` lists to match the topics and interactions you want your chatbot to have.
4. Run the `chatbot.py` script using your preferred Python interpreter.## Usage...
- The chatbot initiates the conversation with a greeting.
- You can interact with the chatbot by entering your input after the `You:` prompt.
- The chatbot will respond based on its training data and the additional features.## Example Conversations