internal

package
v1.4.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const PROFILE_HELP = `` /* 496-byte string literal not displayed */

Variables

View Source
var (
	BUILD_VERSION  = ""
	BUILD_CHECKSUM = ""
)

Set with buildflag if built in pipeline and not using go install

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
	Profile       string
}

type Mode added in v1.1.0

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

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