config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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"`
}

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"`
}

Jump to

Keyboard shortcuts

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