diff --git a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/conversation/ConversationServiceImpl.java b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/conversation/ConversationServiceImpl.java index 6dd2b114c..970fff75f 100644 --- a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/conversation/ConversationServiceImpl.java +++ b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/conversation/ConversationServiceImpl.java @@ -575,7 +575,7 @@ public class ConversationServiceImpl implements ConversationService { paragraphHitRateListVO.setDocumentName(document.getDocumentName()); List rateVOS = parseEmbeddingResponse(response, knowledgeBase, chatReqVO.getUuid()); - if (CollectionUtils.isNotEmpty(rateVOS)){ + if (CollectionUtils.isEmpty(rateVOS)){ return null; } paragraphHitRateListVO.setParagraphHitRate(rateVOS);