plugins

package
v3.1.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ChatGPTPluginName = "OpenAIGPTLinuxTerminal"
)

Variables

This section is empty.

Functions

func Init

func Init(history []History, openAIKey string) *openAIGPTVirtualTerminal

func InitBeelzebubCloud added in v3.1.8

func InitBeelzebubCloud(uri, authToken string) *beelzebubCloud

Types

type Choice

type Choice struct {
	Text         string      `json:"text"`
	Index        int         `json:"index"`
	Logprobs     interface{} `json:"logprobs"`
	FinishReason string      `json:"finish_reason"`
}

type History

type History struct {
	Input, Output string
}

Jump to

Keyboard shortcuts

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