chat

package module
v0.0.0-...-967e9d0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenAIAPIURL = "https://api.openai.com/v1/engines/davinci-codex/completions"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaTUI

type ChaTUI struct {
	// contains filtered or unexported fields
}

func NewChaTUI

func NewChaTUI(apiKey string) *ChaTUI

func (*ChaTUI) Run

func (c *ChaTUI) Run() error

type REPL

type REPL struct {
	// contains filtered or unexported fields
}

func NewREPL

func NewREPL(chaTUI *ChaTUI) *REPL

Jump to

Keyboard shortcuts

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