Just a few simple steps:
- Clone repository
- Rename file
config.yaml.example
toconfig.yaml
and set up your tokens (OpenAI and Telegram) in file - Run
go mod tidy
- Run
go run main.go
This is a simple Telegram bot that uses the OpenAI API to generate a ELI5 explanation of a given topic or phrase.
/start
- Start the bot/topic <topic>
- Generate a ELI5 explanation of a given topic/phrase <phrase>
- Generate a ELI5 explanation of a given phrase