Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfigTemplate = `` /* 774-byte string literal not displayed */
Functions ¶
func DefaultConfigPath ¶
func DefaultConfigPath() string
func DefaultDBPath ¶
func DefaultDBPath() string
func ExpandHome ¶
ExpandHome expands a leading ~ to the user home directory.
Types ¶
type Collection ¶
type Config ¶
type Config struct {
DatabasePath string `yaml:"database_path"`
Collections []Collection `yaml:"collections"`
Providers Providers `yaml:"providers"`
Search SearchConfig `yaml:"search"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
type EmbeddingProviderConfig ¶
type Providers ¶
type Providers struct {
Embedding *EmbeddingProviderConfig `yaml:"embedding,omitempty"`
Rerank *RerankProviderConfig `yaml:"rerank,omitempty"`
Generation *GenerationProviderConfig `yaml:"generation,omitempty"`
}
type RerankProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.