Files
geekai/api/store/model/chat_model.go
2025-04-25 03:07:51 +08:00

20 lines
569 B
Go

package model
type ChatModel struct {
BaseModel
Name string
Value string // API Key 的值
SortNum int
Enabled bool
Power int // 每次对话消耗算力
Open bool // 是否开放模型给所有人使用
MaxTokens int // 最大响应长度
MaxContext int // 最大上下文长度
Description string //模型描述
Category string //模型类别
Temperature float32 // 模型温度
KeyId int // 绑定 API KEY ID
Type string // 模型类型
Options string // 模型选项
}