获取回答内容
This commit is contained in:
@@ -144,7 +144,7 @@ public class ChatWebSocketHandler {
|
|||||||
String startFlag = cacheReplyFlag.get(session.getId());
|
String startFlag = cacheReplyFlag.get(session.getId());
|
||||||
//语音结束,开始进行回答解析
|
//语音结束,开始进行回答解析
|
||||||
log.info("开始文本处理,客户端ID为:{}",clientId);
|
log.info("开始文本处理,客户端ID为:{}",clientId);
|
||||||
String cacheResultText = cacheClientTts.get(clientId);
|
String cacheResultText = cacheClientTts.get(session.getId());
|
||||||
log.info("开始文本处理,面试者回答信息为:{}", cacheResultText);
|
log.info("开始文本处理,面试者回答信息为:{}", cacheResultText);
|
||||||
if (StrUtil.isEmpty(cacheResultText)) {
|
if (StrUtil.isEmpty(cacheResultText)) {
|
||||||
cacheResultText = "I first check the forklift's logbook for recent issues, inspect tires and brakes, verify the load capacity matches today's task, and confirm my licence is current—all per SWMS requirements.";
|
cacheResultText = "I first check the forklift's logbook for recent issues, inspect tires and brakes, verify the load capacity matches today's task, and confirm my licence is current—all per SWMS requirements.";
|
||||||
|
|||||||
Reference in New Issue
Block a user