Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureConfig ¶
type CommunityConfig ¶
type Config ¶
type Config struct {
DataDir string `mapstructure:"data_dir"`
LLM LLMConfig `mapstructure:"llm"`
Indexing IndexingConfig `mapstructure:"indexing"`
Community CommunityConfig `mapstructure:"community"`
Server ServerConfig `mapstructure:"server"`
}
type IndexingConfig ¶
type IndexingConfig struct {
ChunkSize int `mapstructure:"chunk_size"`
ChunkOverlap int `mapstructure:"chunk_overlap"`
BatchSize int `mapstructure:"batch_size"`
Workers int `mapstructure:"workers"`
ExtractGraph bool `mapstructure:"extract_graph"`
ExtractClaims bool `mapstructure:"extract_claims"`
MaxGleanings int `mapstructure:"max_gleanings"`
}
type LLMConfig ¶
type LLMConfig struct {
Provider string `mapstructure:"provider"`
Azure AzureConfig `mapstructure:"azure"`
Ollama OllamaConfig `mapstructure:"ollama"`
}
type OllamaConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.