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