diff --git a/src/main/java/com/supervision/police/service/impl/LLMExtractServiceImpl.java b/src/main/java/com/supervision/police/service/impl/LLMExtractServiceImpl.java index e939209..b0738d9 100644 --- a/src/main/java/com/supervision/police/service/impl/LLMExtractServiceImpl.java +++ b/src/main/java/com/supervision/police/service/impl/LLMExtractServiceImpl.java @@ -152,7 +152,7 @@ public class LLMExtractServiceImpl implements LLMExtractService { String content = call.getResult().getOutput().getContent(); log.info("属性提取结果: {}", content); JSONObject jsonObject = new JSONObject(content); - List extractAttributesList = LLMExtractDto.getExtractAttributes(); + List extractAttributesList = new ArrayList<>(); extractAttributesMap.forEach((key, value) -> { String attrValue = jsonObject.optString(key); log.info("属性提取结果: 【{}】。Key:【{}】", attrValue, key);