config

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Build   string
	Commit  string
	Version string
)

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Provider string `yaml:"provider"`
	Host     string `yaml:"host"`
	Port     int    `yaml:"port"`
	User     string `yaml:"user"`
	Pass     string `yaml:"pass"`
}

type Config

type Config struct {
	Cache  Cache  `yaml:"cache"`
	Flow   Flow   `yaml:"flow"`
	Gpt    Gpt    `yaml:"gpt"`
	Memory Memory `yaml:"memory"`
	Store  Store  `yaml:"store"`
	Tool   []Tool `yaml:"tool"`
}

type Flow added in v0.11.0

type Flow struct {
	Channel string `yaml:"channel"`
}

type Gpt

type Gpt struct {
	Provider string `yaml:"provider"`
	Api      string `yaml:"api"`
	Model    string `yaml:"model"`
	Key      string `yaml:"key"`
}

type Memory added in v0.3.0

type Memory struct {
	Type string `yaml:"type"`
}

type Store

type Store struct {
	Provider string `yaml:"provider"`
	Host     string `yaml:"host"`
	Port     int    `yaml:"port"`
	Path     string `yaml:"path"`
	User     string `yaml:"user"`
	Pass     string `yaml:"pass"`
}

type Tool added in v0.5.0

type Tool struct {
	Name string
}

Jump to

Keyboard shortcuts

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