This project is a ChatGPT bot developed for Telegram using Node.js and the node-telegram-bot-api library. The bot utilizes the GPT-3.5 model to provide intelligent responses and engage in conversations with Telegram users.
• Interactive Conversations: The bot engages in interactive conversations with users, responding to their messages and providing intelligent replies. • Question-Answering: Users can ask questions, and the bot utilizes the GPT-3.5 model to generate relevant and informative answers. • Information Provider: The bot can provide information on various topics, leveraging the power of the GPT-3.5 model's language understanding capabilities. • Contextual Understanding: The bot maintains conversational context and continuity by storing and referencing previous messages, ensuring coherent and relevant responses.
• Node.js (v18 or above) • yarn (package manager)
- Clone the repository: git clone (https://github.com/arbaevsherbolot/telegram-bot.git)
- Navigate to the project directory: cd chatgpt-telegram-bot
- Install dependencies: yarn
- Create a Telegram bot and obtain an API token by talking to the "BotFather" on Telegram.
- Update the dotenv file with your Telegram bot API token
- Start the bot: yarn dev
- Open Telegram and search for your bot by its username.
- Start a conversation with the bot and enjoy interactive communication.
Contributions to the project are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.