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