Browse Source

添加文档\图片\文本总结功能, 增加密码校验

zhenghao 5 months ago
parent
commit
d46b498240
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/cn/jlsxwkj/moudles/chat/ChatController.java

+ 1 - 1
src/main/java/cn/jlsxwkj/moudles/chat/ChatController.java

@@ -42,7 +42,7 @@ public class ChatController {
 
     @Operation(summary = "问答文档总结流")
     @PostMapping(value = "/chatSummaryStream", produces = {MediaType.TEXT_EVENT_STREAM_VALUE})
-    public Flux<String> chatSumStream(@RequestParam String message,
+    public Flux<String> chatSummaryStream(@RequestParam String message,
                                       @RequestBody MultipartFile file) throws CustomException {
         return chatService.chatSummaryStream(message, file);
     }