替换@小果
This commit is contained in:
parent
67e6a25bdf
commit
7374bdfb14
@ -80,7 +80,7 @@ public class DeviceController {
|
||||
private Long timeOut;//2分钟
|
||||
@PostMapping("/talk")
|
||||
public Mono<BaseMessageResp> deviceInit(@RequestBody UserTalkRequst userTalkRequst){
|
||||
return nlpService.getActionWithLacSingle(userTalkRequst.getId(), userTalkRequst.getAsk(), someProperties.getType())
|
||||
return nlpService.getActionWithLacSingle(userTalkRequst.getId(), userTalkRequst.getAsk().replace("@小果(智能AI助手) ", ""), someProperties.getType())
|
||||
.defaultIfEmpty(new Actions())
|
||||
.flatMap(actions -> {
|
||||
BaseSession session = new BaseSession();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user