go-telegram-gpt

command module
v0.0.0-...-94b17e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 7 Imported by: 0

README

DEPRECATED: Engines within GPT-3 are DEPRECATED

PROJECT NEEDS REFACTOR!

An ELI5 Telegram Bot using OpenAI API

Install
  1. Clone repository
  2. Create config.yaml. You will need Telegram token and GPT API token. And a bot on Telegram.
tgToken: "xxxx"
gptToken: "xxxx"
preamble: "ELI5: "
  1. Run go mod tidy
  2. Run go run main.go
Usage

A very simple Telegram bot that uses OpenAI API to generate ELI5 responses.

Commands
  • /start - Start the bot
  • /topic <topic> - Genrerate an ELI5 response to the given topic
  • /phrase <phrase> - Generate an ELI5 response to the given phrase

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳