修改存储智能客服会话类型
This commit is contained in:
@@ -122,7 +122,7 @@ public class DashScopeController {
|
||||
*/
|
||||
@RequestMapping(value = "/service", produces = "text/stream;charset=UTF-8")
|
||||
public Flux<String> service(String prompt, String chatId) {
|
||||
chatHistoryService.saveHistoryChatId(ChatTypeEnum.CHAT_PDF.type, chatId);
|
||||
chatHistoryService.saveHistoryChatId(ChatTypeEnum.CHAT_SERVICE.type, chatId);
|
||||
return serviceDashScopeChatClient
|
||||
.prompt()
|
||||
.user(prompt)
|
||||
|
||||
Reference in New Issue
Block a user