handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandBard          = "bard"
	CommandRead          = "read"
	CommandChatGPT35     = "gpt35"
	CommandChatGPT4      = "gpt4"
	CommandClaudeWeb     = "claude_web"
	CommandClaudeV2      = "claude_v2"
	CommandClaudeV1      = "claude_v1"
	CommandClaudeInstant = "claude_instant"
	CommandImagine       = "imagine"
)

Variables

View Source
var InvalidURLError = errors.New("invalid url")

Functions

func OnMidJourneyImagine added in v0.0.19

func OnMidJourneyImagine(c tb.Context) error

func OnReadEase added in v0.0.17

func OnReadEase(c tb.Context) error

func OnText

func OnText(c tb.Context) error

Types

type LLMCache added in v0.0.17

type LLMCache struct {
	Model          string // Model name
	ConversationId string // Conversation ID info
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL