RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix hit cache error while raptoring. (#4955)
Kevin Hu29ceeba95ff9
diff --git a/rag/raptor.py b/rag/raptor.pyindex fcc686565c..6a60136050 100644--- a/rag/raptor.py+++ b/rag/raptor.py@@ -46,7 +46,7 @@ class RecursiveAbstractiveProcessing4TreeOrganizedRetrieval:def _embedding_encode(self, txt):response = get_embed_cache(self._embd_model.llm_name, txt)- if response:+ if response is not None:return responseembds, _ = self._embd_model.encode([txt])if len(embds) < 1 or len(embds[0]) < 1: