aicore

package
v0.0.0-...-20195b3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLMAgent

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

func NewLLMAgent

func NewLLMAgent(settings config.Settings) *LLMAgent

func (*LLMAgent) AvailableModelNames

func (a *LLMAgent) AvailableModelNames() string

func (*LLMAgent) ClearHistory

func (a *LLMAgent) ClearHistory(_ context.Context, user string)

func (*LLMAgent) ParseModelName

func (a *LLMAgent) ParseModelName(input string) string

func (*LLMAgent) Query

func (a *LLMAgent) Query(ctx context.Context, modelName, user, input string, imageURLs []string) (<-chan string, error)

Jump to

Keyboard shortcuts

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