Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Redis RedisConfig `yaml:"redis"`
Providers ProvidersConfig `yaml:"providers"`
}
type LLMConfig ¶
type LLMConfig struct {
Default string `yaml:"default"`
ModelScope LLMProviderConfig `yaml:"modelscope"`
OpenAI LLMProviderConfig `yaml:"openai"`
}
type LLMProviderConfig ¶
type ProvidersConfig ¶
type ProvidersConfig struct {
LLM LLMConfig `yaml:"llm"`
}
type RedisConfig ¶
type RedisConfig struct {
URL string `yaml:"url"`
}
type ServerConfig ¶
type ServerConfig struct {
Addr string `yaml:"addr"`
}
Click to show internal directories.
Click to hide internal directories.