Browse Source

feat:提交

fuwencai 1 năm trước cách đây
mục cha
commit
d1d7b2f062
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      api/v1/aiChatApi.go

+ 3 - 4
api/v1/aiChatApi.go

@@ -45,10 +45,9 @@ type EvaluateRes struct {
 
 // FindAnswerReq 智能客服回复问题
 type FindAnswerReq struct {
-	g.Meta  `path:"/findAnswer" tags:"AiChat" method:"post" summary:"智能客服回复问题"`
-	Prompt  string     `json:"prompt"`
-	History [][]string `json:"history"`
-	Href    string     `json:"href"`
+	g.Meta `path:"/findAnswer" tags:"AiChat" method:"post" summary:"智能客服回复问题"`
+	Prompt string `json:"prompt"`
+	Href   string `json:"href"`
 }
 type FindAnswerRes struct {
 	ErrorMsg  string                 `json:"error_msg"`