|
|
|
@ -331,8 +331,7 @@ public class CaseEvidenceServiceImpl extends ServiceImpl<CaseEvidenceMapper, Cas
|
|
|
|
|
llmExtractDto.setExtractAttributes(notePrompt.getExtractAttributes());
|
|
|
|
|
List<LLMExtractDto> llmExtractDtos = llmExtractService.extractAttribute(Collections.singletonList(llmExtractDto));
|
|
|
|
|
if (!llmExtractDtos.isEmpty()) {
|
|
|
|
|
llmExtractDto = llmExtractService.extractAttribute(Collections.singletonList(llmExtractDto)).get(0);
|
|
|
|
|
caseEvidence.setProperty(llmExtractDto.getExtractAttributes());
|
|
|
|
|
caseEvidence.setProperty(llmExtractDtos.get(0).getExtractAttributes());
|
|
|
|
|
}
|
|
|
|
|
log.info("属性提取完成。更新证据处理状态为【属性提取完成】。属性:【{}】。耗时:【{}】", caseEvidence.getProperty(), System.currentTimeMillis() - attrStart);
|
|
|
|
|
caseEvidence.setProcessStatus(EvidenceConstants.PROCESS_STATUS_ATTR_EXTRACT_OK);
|
|
|
|
|