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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址