Commit 60731e78 by 陈健智

Merge remote-tracking branch 'origin/feature' into feature

parents 8d8f4a0e 96854f63
......@@ -4113,7 +4113,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) || Objects.equals("无法回答", questionPair.getLeft())) {
if (Objects.isNull(questionPair) || Objects.equals("无法回答", questionPair.getLeft().trim())) {
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