go-wxhelper/config/ai.go
李寻欢 6c2bf3fc9c
All checks were successful
BuildImage / build-image (push) Successful in 59s
AI新增模型和人设配置
2023-11-17 09:57:35 +08:00

12 lines
429 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"` // 人设
}