添加模型具体参数保存
This commit is contained in:
parent
60b76e5377
commit
c0f3ceaa7d
|
|
@ -138,4 +138,6 @@ type UserUIConfigInfo struct {
|
||||||
type UserUIFunctionConfigInfo struct {
|
type UserUIFunctionConfigInfo struct {
|
||||||
ModelID int `json:"model_id" form:"model_id" bson:"model_id"` // 模型ID,选择的模型
|
ModelID int `json:"model_id" form:"model_id" bson:"model_id"` // 模型ID,选择的模型
|
||||||
SessionID int `json:"session_id" form:"session_id" bson:"session_id"` // 会话ID,上一次的会话
|
SessionID int `json:"session_id" form:"session_id" bson:"session_id"` // 会话ID,上一次的会话
|
||||||
|
Temperature float32 `json:"temperature" form:"temperature" bson:"temperature"` // 温度
|
||||||
|
TopP float32 `json:"top_p" form:"top_p" bson:"top_p"` // 采样温度
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue