@@ -71,9 +71,9 @@ public class AiChatController {
7171 parameters = {
7272 @ Parameter (name = "ChatRequest" , description = "入参对象" )
7373 }, responses = {
74- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
75- content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
76- @ ApiResponse (responseCode = "400" , description = "请求失败" )
74+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
75+ content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
76+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
7777 })
7878 @ SystemControllerLog (description = "AI chat" )
7979 @ PostMapping ("/ai/chat" )
@@ -110,9 +110,9 @@ public ResponseEntity<?> aiChat(@RequestBody ChatRequest request,
110110 parameters = {
111111 @ Parameter (name = "ChatRequest" , description = "入参对象" )
112112 }, responses = {
113- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
114- content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
115- @ ApiResponse (responseCode = "400" , description = "请求失败" )
113+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
114+ content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
115+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
116116 })
117117 @ SystemControllerLog (description = "AI completions" )
118118 @ PostMapping ("/chat/completions" )
@@ -145,9 +145,9 @@ public ResponseEntity<?> completions(@RequestBody ChatRequest request,
145145 parameters = {
146146 @ Parameter (name = "request" , description = "入参对象" )
147147 }, responses = {
148- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
149- content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
150- @ ApiResponse (responseCode = "400" , description = "请求失败" )
148+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
149+ content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
150+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
151151 })
152152 @ SystemControllerLog (description = "get token" )
153153 @ PostMapping ("/encrypt-key" )
@@ -170,9 +170,9 @@ public Result<AiToken> getToken(@RequestBody ChatRequest request) throws Excepti
170170 parameters = {
171171 @ Parameter (name = "searchDto" , description = "搜索请求参数体" ),
172172 }, responses = {
173- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
174- content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
175- @ ApiResponse (responseCode = "400" , description = "请求失败" )
173+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
174+ content = @ Content (mediaType = "application/json" , schema = @ Schema ())),
175+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
176176 })
177177 @ SystemControllerLog (description = "AI search in collection" )
178178 @ PostMapping ("/ai/search" )
0 commit comments