internal

package
v1.3.16-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTextQuerier added in v1.1.0

func CreateTextQuerier(conf text.Configurations) (models.Querier, error)

CreateTextQuerier by checking the model for which vendor to use, then initiating a TextQuerier

func NewPhotoQuerier added in v1.1.0

func NewPhotoQuerier(conf photo.Configurations) (models.Querier, error)

func Setup

func Setup(usage string) (models.Querier, error)

Types

type Configurations added in v1.1.0

type Configurations struct {
	ChatModel     string
	PhotoModel    string
	PhotoDir      string
	PhotoPrefix   string
	PhotoOutput   string
	StdinReplace  string
	ExpectReplace bool
	PrintRaw      bool
	ReplyMode     bool
	UseTools      bool
	Glob          string
}

type Mode added in v1.1.0

type Mode int
const (
	HELP Mode = iota
	QUERY
	CHAT
	GLOB
	PHOTO
	VERSION
	SETUP
)

type PromptConfig

type PromptConfig struct {
	Photo string `yaml:"photo"`
	Query string `yaml:"query"`
}

Directories

Path Synopsis
This package contains test intended to be used by the implementations of the Querier, ChatQuerier and StreamCompleter interfaces
This package contains test intended to be used by the implementations of the Querier, ChatQuerier and StreamCompleter interfaces
vendors

Jump to

Keyboard shortcuts

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