go-wxhelper/config/ai.go
李寻欢 3b4862d5bc
All checks were successful
BuildImage / build-image (push) Successful in 1m9s
🎨 AI新增指定群不启用
2023-11-24 09:44:13 +08:00

13 lines
535 B
Go

package config
// ai
// @description: AI配置
type ai struct {
Enable bool `json:"enable" yaml:"enable"` // 是否启用AI
Model string `json:"model" yaml:"model"` // 模型
ApiKey string `json:"apiKey" yaml:"apiKey"` // API Key
BaseUrl string `json:"baseUrl" yaml:"baseUrl"` // API地址
Personality string `json:"personality" yaml:"personality"` // 人设
DisableGroup []string `json:"disableGroup" yaml:"disableGroup"` // 禁用群组
}