|
|
@ -31,11 +31,6 @@ public class AskController {
|
|
|
|
return askService.receiveVoiceFile(file);
|
|
|
|
return askService.receiveVoiceFile(file);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("使用京东数字人进行对话(这个接口使用京东数字人接口来做)")
|
|
|
|
|
|
|
|
@PostMapping("/talk")
|
|
|
|
|
|
|
|
public TalkResultResVO talk(@RequestBody TalkReqVO talkReqVO) throws IOException {
|
|
|
|
|
|
|
|
return askService.talk(talkReqVO);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("使用本地视频的形式来做")
|
|
|
|
@ApiOperation("使用本地视频的形式来做")
|
|
|
|
@PostMapping("/talkByVideo")
|
|
|
|
@PostMapping("/talkByVideo")
|
|
|
|