From 71fe10d7a454226a97505bfe10401c2d0d844869 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DDTUS3E\\yaxin" Date: Tue, 5 Nov 2024 15:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8F=96=E5=B1=9E=E6=80=A7=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E9=9B=86=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/police/service/impl/LLMExtractServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);