# Sandeep Saini's Chat BOT
Sandeep Saini's Chat BOT is a Telegram bot powered by OpenAI's GPT-3.5 Turbo model. It can engage in conversations and provide responses based on user input.
## Getting Started
To use the Chat BOT, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/your-username/your-repository.git
cd your-repository
```
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file and add the following:telegramToken=YOUR_TELEGRAM_TOKEN openAiToken=YOUR_OPENAI_TOKEN forbiddenWords=word1,word2,word3
-
Start the bot:
npm start
-
Conversation with OpenAI: The bot communicates with OpenAI's GPT-3.5 Turbo model to generate responses.
-
Message Filtering: The bot filters messages for forbidden words specified in the
.env
file. -
Start Command: Send
/start
to the bot to receive a welcome message.
Once the bot is running, you can interact with it on Telegram. Here are some commands and features:
/start
: Get a welcome message from the bot.- Forbidden Words: If a message contains forbidden words, the bot responds with a predefined message.
Adjust the bot's behavior by modifying the .env
file. Customize tokens and forbidden words as needed.
Feel free to contribute to the project by opening issues or submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Remember to replace placeholders like `YOUR_TELEGRAM_TOKEN` and `YOUR_OPENAI_TOKEN` with your actual tokens. You can also add more sections or details based on the complexity of your project.