Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chetanxpro/chatgpt-telegram-bot
A Telegram Chat bot that uses OpenAI Api to send you pictures in addition to responding to your questioins
https://github.com/chetanxpro/chatgpt-telegram-bot
bot chatgpt gpt-3 nodejs openai openai-api telegram telegram-bot telegram-chat-bot
Last synced: about 2 months ago
JSON representation
A Telegram Chat bot that uses OpenAI Api to send you pictures in addition to responding to your questioins
- Host: GitHub
- URL: https://github.com/chetanxpro/chatgpt-telegram-bot
- Owner: ChetanXpro
- License: mit
- Created: 2022-12-25T14:46:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T16:54:16.000Z (over 1 year ago)
- Last Synced: 2024-05-18T03:45:30.653Z (8 months ago)
- Topics: bot, chatgpt, gpt-3, nodejs, openai, openai-api, telegram, telegram-bot, telegram-chat-bot
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 32
- Watchers: 3
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Chatgpt telegram bot
### How to install this bot ?- If You want to use extra features like speech service and database to store active users then use Master branch (You have to enter mongoDb connection url in .env)
- Or if you dont want to use database then checkout to bot-without-monogdb branch (no need to enter monogoDB connection url in .env)- Clone This repo
- Create `.env` file in root
- Enter Your API keys in .env files
- To install all modules `npm install`
- To run developer server `npm run dev`### Env
- `API=`
- `TG_API=`
- Need only if you want to use Text to Audio feature
- `AZURE_API=`- Need only if you want to save data to mongo Database
- `URI=`## Commands
### /ask
- With this command you can ask anything from bot.
- ex-> /ask what is utf-8 encoding### /speech
- Bot will generate Audio for your text
- ex-> /speech hi how are you### /image
- You can give a description to generate an image
- ex-> /image A dog on moon.### /en
- You can send your sentence with wrong grammar bot will fix that.
- /en i am going in my house roof