WIP GPT3 bot for telegram
Run with go run main.go
All configuration provided with environment variables
Option | Description | Required |
---|---|---|
OPENAI_TOKEN |
Access token for the OpenAI API. Register at https://beta.openai.com/account/api-keys | x |
TELEGRAM_TOKEN |
Bot token for Telegram. Generated via messaging @botfather /newbot |
x |
Command | Description | Reply Only | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/prompt <text> |
Starts a new thread using the provided text as a seed. | |||||||||||||||
/echo <text> |
Echos the provided text as a response. Useful for being a new thread without a prompt. | |||||||||||||||
/think |
Doesn't do anything particularly useful, waits for 5 seconds and replies. To be removed in the future. | |||||||||||||||
/dump |
Responds with information about the current chat thread, number of prompts, responses, informational messages, etc. As well as the current thread's GPT parameters. | x | ||||||||||||||
/tweak [<param>=<value>;] |
|
x |