|
|
|
@ -152,7 +152,7 @@ public class LLMExtractServiceImpl implements LLMExtractService {
|
|
|
|
|
String content = call.getResult().getOutput().getContent();
|
|
|
|
|
log.info("属性提取结果: {}", content);
|
|
|
|
|
JSONObject jsonObject = new JSONObject(content);
|
|
|
|
|
List<NotePromptExtractAttributesDto> extractAttributesList = LLMExtractDto.getExtractAttributes();
|
|
|
|
|
List<NotePromptExtractAttributesDto> extractAttributesList = new ArrayList<>();
|
|
|
|
|
extractAttributesMap.forEach((key, value) -> {
|
|
|
|
|
String attrValue = jsonObject.optString(key);
|
|
|
|
|
log.info("属性提取结果: 【{}】。Key:【{}】", attrValue, key);
|
|
|
|
|