config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 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"`
	Url      string `yaml:"url"`
}

type Config

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

type Gpt

type Gpt struct {
	Provider string `yaml:"provider"`
	Api      string `yaml:"api"`
	Token    string `yaml:"token"`
}

type Memory added in v0.3.0

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

type Store

type Store struct {
	Provider string `yaml:"provider"`
	Url      string `yaml:"url"`
	Path     string `yaml:"path"`
}

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