Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sherbolotarbaev/telegram-bot

ChatGPT in Telegram bot 🙈
https://github.com/sherbolotarbaev/telegram-bot

node-js open-ai-api telegram-bot-api

Last synced: 10 days ago
JSON representation

ChatGPT in Telegram bot 🙈

Awesome Lists containing this project

README

        

# ChatGPT Telegram Bot ⚡️
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.

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

# Prerequisites
• Node.js (v18 or above)
• yarn (package manager)

# Installation
1. Clone the repository: git clone (https://github.com/arbaevsherbolot/telegram-bot.git)
2. Navigate to the project directory: cd chatgpt-telegram-bot
3. Install dependencies: yarn

# Configuration
1. Create a Telegram bot and obtain an API token by talking to the "BotFather" on Telegram.
2. Update the dotenv file with your Telegram bot API token

# Usage
1. Start the bot: yarn dev
2. Open Telegram and search for your bot by its username.
3. Start a conversation with the bot and enjoy interactive communication.

# Contributing
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.