Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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