command
module
Version:
v0.0.0-...-b732043
Opens a new window with list of versions in this module.
Published: Jan 31, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ELI5 Telegram Bot using OpenAI API
Install
Just a few simple steps:
- Clone repository
- Rename file
sample-config.yaml
to config.yaml
and set up your tokens (OpenAI and Telegram) in file
- Run
go mod tidy
- Run
go run main.go
Usage
This is a simple Telegram bot that uses the OpenAI API to generate a ELI5 explanation of a given topic or phrase.
Commands
/start
- Start the bot
/topic <topic>
- Generate a ELI5 explanation of a given topic
/phrase <phrase>
- Generate a ELI5 explanation of a given phrase
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.