|
|
@ -327,7 +327,6 @@ public class AskServiceImpl implements AskService {
|
|
|
|
talkVideoTtsResultResVO.setAnswerMessage(resText);
|
|
|
|
talkVideoTtsResultResVO.setAnswerMessage(resText);
|
|
|
|
// 保存记录
|
|
|
|
// 保存记录
|
|
|
|
saveQaRecord(talkReqVO.getProcessId(), "patient", askPatientAnswer.getId(), talkReqVO.getText(), library, resText);
|
|
|
|
saveQaRecord(talkReqVO.getProcessId(), "patient", askPatientAnswer.getId(), talkReqVO.getText(), library, resText);
|
|
|
|
return talkVideoTtsResultResVO;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// 如果问题的答案没有配置,还是走大模型的回答
|
|
|
|
// 如果问题的答案没有配置,还是走大模型的回答
|
|
|
|
log.info("{}:病历配置,从AskPatientAnswer中未找到回答结果,走大模型", qaSimilarityQuestionAnswer.getMatchQuestionCode());
|
|
|
|
log.info("{}:病历配置,从AskPatientAnswer中未找到回答结果,走大模型", qaSimilarityQuestionAnswer.getMatchQuestionCode());
|
|
|
|