https://github.com/chiragbadhe/chatgpt-telegram-bot
A ChatGPT Telegram bot that provides conversational AI services, powered by OpenAI.
https://github.com/chiragbadhe/chatgpt-telegram-bot
bot telegram telegram-bot
Last synced: 9 months ago
JSON representation
A ChatGPT Telegram bot that provides conversational AI services, powered by OpenAI.
- Host: GitHub
- URL: https://github.com/chiragbadhe/chatgpt-telegram-bot
- Owner: chiragbadhe
- Created: 2023-01-24T09:35:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T10:06:05.000Z (over 3 years ago)
- Last Synced: 2025-03-15T15:12:27.806Z (over 1 year ago)
- Topics: bot, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT Telegram Bot
A ChatGPT Telegram bot that provides conversational AI services, powered by OpenAI.
## Features
- Uses OpenAI's GPT-3 model to generate human-like responses
- Easy to integrate with Telegram using the Python Telegram Bot API
- Customizable code for different use cases
## Getting Started
### Prerequisites
- Python 3.x
- OpenAI API Key
- Telegram Bot API Key
### Installation
Clone the repository:
git clone https://github.com/chiragbadhe/ChatGPT-Telegram-Bot.git
Navigate to the repository:
cd ChatGPT-Telegram-Bot
Install the required packages:
pip install -r requirements.txt
Create a `.env` file in the root directory of the project and add the following environment variables:
TELEGRAM_BOT_TOKEN=
OPENAI_API_KEY=
### Usage
Run the bot:
`python bot.py`
python
Copy code
2. Start chatting with the bot on Telegram!
## Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.