|
@@ -61,9 +61,11 @@ type ProblemConfigurationRes struct {
|
|
}
|
|
}
|
|
|
|
|
|
type ChatReq struct {
|
|
type ChatReq struct {
|
|
- g.Meta `path:"/chat" tags:"AiSearch" method:"post" summary:"聊天"`
|
|
|
|
- SId int `json:"sId" v:"required" dc:"当前会话id"`
|
|
|
|
- Content string `json:"content" v:"required" dc:"用户发送内容"`
|
|
|
|
|
|
+ g.Meta `path:"/chat" tags:"AiSearch" method:"post" summary:"聊天"`
|
|
|
|
+ SId string `json:"sId" v:"required" dc:"当前会话id"`
|
|
|
|
+ Content string `json:"content" v:"required" dc:"用户发送内容"`
|
|
|
|
+ Question string `json:"question" v:"required" dc:"用户发送内容"`
|
|
|
|
+ Item int `json:"item" v:"required" dc:"分类"`
|
|
}
|
|
}
|
|
|
|
|
|
type ChatRes struct {
|
|
type ChatRes struct {
|