AI 提问追问环境demo,以及评分处理

This commit is contained in:
2025-10-27 21:11:45 +08:00
parent fb05e6ca37
commit 14b803609e
2 changed files with 53 additions and 16 deletions

View File

@@ -40,10 +40,8 @@ public class AiCommonController extends BaseController
public AjaxResult handleTextToVice()
{
//你好,我是本次的面试官Vetti,请点击开始按钮后,做一段自我介绍.
elevenLabsClient.handleTextToVoice("Hello, I am Vetti, the interviewer for this interview. Please click the start button and give a self introduction","/Users/wangxiangshun/Desktop/临时文件/opening2.wav");
elevenLabsClient.handleTextToVoice("Good","/Users/wangxiangshun/Desktop/临时文件/good.wav");
//本轮面试结束,谢谢您的配合,面试结果将稍后通知
elevenLabsClient.handleTextToVoice("This round of interview is over. Thank you for your cooperation. The interview results will be notified later","/Users/wangxiangshun/Desktop/临时文件/end.wav");
return success();
}