Skip to content

Sandeep Saini's Chat BOT is a versatile Telegram bot powered by OpenAI's GPT-3.5 Turbo model. Created by Sandeep Saini, it engages users in dynamic conversations, providing informative responses. The project's open-source nature encourages collaboration, while robust filtering ensures a positive user experience by preventing inappropriate content.

Notifications You must be signed in to change notification settings

sandeepsn72/telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 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
   ```
  1. Install dependencies:

    npm install
  2. Set up environment variables: Create a .env file and add the following:

    telegramToken=YOUR_TELEGRAM_TOKEN
    openAiToken=YOUR_OPENAI_TOKEN
    forbiddenWords=word1,word2,word3
  3. Start the bot:

    npm start

Features

  • 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.

Usage

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.

Configuration

Adjust the bot's behavior by modifying the .env file. Customize tokens and forbidden words as needed.

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests.

License

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.

About

Sandeep Saini's Chat BOT is a versatile Telegram bot powered by OpenAI's GPT-3.5 Turbo model. Created by Sandeep Saini, it engages users in dynamic conversations, providing informative responses. The project's open-source nature encourages collaboration, while robust filtering ensures a positive user experience by preventing inappropriate content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published