internal

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 18 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
}

type Mode added in v1.1.0

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

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