Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🙈
- Host: GitHub
- URL: https://github.com/sherbolotarbaev/telegram-bot
- Owner: sherbolotarbaev
- Created: 2023-04-16T23:57:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:29:30.000Z (8 months ago)
- Last Synced: 2024-04-08T03:34:57.762Z (7 months ago)
- Topics: node-js, open-ai-api, telegram-bot-api
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.