Skip to content

gpt-telegram-bot is a telegram bot that uses open ai chat models.

License

Notifications You must be signed in to change notification settings

spideyz0r/gpt-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-telegram-bot [CI][CI][CI]

gpt-telegram-bot is a telegram bot that uses open ai chat models.

Install

RPM

dnf copr enable brandfbb/gpt-telegram-bot
dnf install gpt-telegram-bot

From source

go build -v -o gpt-telegram-bot

Usage

# gpt-telegram-bot
Usage: main [-dh] [-a value] [-b value] [-m value] [-t value] [-w value] [parameters ...]
 -a, --openai-key=value
                    API key (default: OPENAI_API_KEY environment variable)
 -b, --telegram-key=value
                    API key (default: TELEGRAM_API_KEY environment variable)
 -d, --debug        enable debug mode
 -h, --help         display this help
 -m, --model=value  model. default: gpt-3.5-turbo
 -t, --temperature=value
                    temperature (default: 0.8)
 -w, --whitelist file=value
                    path to file with whitelisted users