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

https://github.com/abhinavsharma07/chatbot-x


https://github.com/abhinavsharma07/chatbot-x

Last synced: 7 months ago
JSON representation

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