Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
AppID int `toml:"app_id" mapstructure:"app_id"`
AppHash string `toml:"app_hash" mapstructure:"app_hash"`
BotToken string `toml:"bot_token" mapstructure:"bot_token"`
Admins []int64 `toml:"admins" mapstructure:"admins"`
Engine struct {
Url string `toml:"url" mapstructure:"url"`
Key string `toml:"key" mapstructure:"key"`
Embedder struct {
Name string `toml:"name" mapstructure:"name"`
Source string `toml:"source" mapstructure:"source"`
Model string `toml:"model" mapstructure:"model"`
ApiKey string `toml:"api_key" mapstructure:"api_key"`
DocumentTemplate string `toml:"document_template" mapstructure:"document_template"`
Dimensions int `toml:"dimensions" mapstructure:"dimensions"`
URL string `toml:"url" mapstructure:"url"`
} `toml:"embedder" mapstructure:"embedder"`
} `toml:"engine" mapstructure:"engine"`
}
var C AppConfig
Click to show internal directories.
Click to hide internal directories.