conversation

package
v0.0.0-...-68061ec Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Convo

type Convo struct {
	History []openai.ChatCompletionMessage
	Kb      *kb.Kb
}

func New

func New(mode cmdutil.Mode, kb *kb.Kb) (*Convo, error)

func (*Convo) AddRequest

func (c *Convo) AddRequest(req string)

func (*Convo) AddResponse

func (c *Convo) AddResponse(resp string)

Jump to

Keyboard shortcuts

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