mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +08:00
18 lines
575 B
Go
18 lines
575 B
Go
package vo
|
|
|
|
type ChatModel struct {
|
|
BaseVo
|
|
Name string `json:"name"`
|
|
Value string `json:"value"`
|
|
Enabled bool `json:"enabled"`
|
|
SortNum int `json:"sort_num"`
|
|
Power int `json:"power"`
|
|
Open bool `json:"open"`
|
|
MaxTokens int `json:"max_tokens"` // 最大响应长度
|
|
MaxContext int `json:"max_context"` // 最大上下文长度
|
|
Temperature float32 `json:"temperature"` // 模型温度
|
|
KeyId int `json:"key_id,omitempty"`
|
|
KeyName string `json:"key_name"`
|
|
Type string `json:"type"`
|
|
}
|