Commit 3a2b9022 by 陈健智

AI搜索补充无法回答时返回

parent 608182a3
......@@ -4076,7 +4076,7 @@ public class MarkDataServiceImpl implements MarkDataService {
project.getContendList().forEach(contend -> brandStr.append("、").append(contend.getBrandName()));
}
questionPair = standardRequest(question, modelName, MessageFormat.format(QUESTION_PROMPT, brandStr));
if (Objects.isNull(questionPair)) {
if (Objects.isNull(questionPair) || Objects.equals("无法回答", questionPair.getLeft())) {
return null;
}
JSONObject json = JSON.parseObject(questionPair.getLeft());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment