|
|
|
@ -292,7 +292,7 @@ public class ChatServiceImpl implements ChatService {
|
|
|
|
|
answerMap.put("indexType", modelIndex.getIndexType());
|
|
|
|
|
answerMap.put("result", Boolean.parseBoolean(indexDetail.getIndexResult()) ? "符合" : "不符合");
|
|
|
|
|
List<Map<String, String>> qaSplitList = new ArrayList<>();
|
|
|
|
|
if (!indexDetail.getChildren().isEmpty()) {
|
|
|
|
|
if (CollUtil.isNotEmpty(indexDetail.getChildren())) {
|
|
|
|
|
indexDetail.getChildren().forEach(atomicIndexDTO -> {
|
|
|
|
|
if (!atomicIndexDTO.getRecordSegmentationList().isEmpty()) {
|
|
|
|
|
atomicIndexDTO.getRecordSegmentationList().forEach(split -> {
|
|
|
|
@ -310,7 +310,7 @@ public class ChatServiceImpl implements ChatService {
|
|
|
|
|
}
|
|
|
|
|
answerMap.put("qaSplitList", qaSplitList);
|
|
|
|
|
List<Map<String, String>> evidenceList = new ArrayList<>();
|
|
|
|
|
if (!indexDetail.getChildren().isEmpty()) {
|
|
|
|
|
if (CollUtil.isNotEmpty(indexDetail.getChildren())) {
|
|
|
|
|
indexDetail.getChildren().forEach(atomicIndexDTO -> {
|
|
|
|
|
if (!atomicIndexDTO.getEvidentResultList().isEmpty()) {
|
|
|
|
|
atomicIndexDTO.getEvidentResultList().forEach(evidentIndexResultDTO -> {
|
|
|
|
|