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
empty kb id for templates (#1429)
KevinHuSh669d634d74b4
diff --git a/graph/component/rewrite.py b/graph/component/rewrite.pyindex 9f645653b2..11a374660b 100644--- a/graph/component/rewrite.py+++ b/graph/component/rewrite.py@@ -54,7 +54,7 @@ class RewriteQuestion(Generate, ABC):setattr(self, "_loop", 0)if self._loop >= self._param.loop:self._loop = 0- raise Exception("Can't find relevant information.")+ raise Exception("Maximum loop time exceeds. Can't find relevant information.")self._loop += 1q = "Question: "for r, c in self._canvas.history[::-1]:diff --git a/graph/templates/HR_callout_zh.json b/graph/templates/HR_callout_zh.jsonindex d476e30807..5955b8a7a1 100644--- a/graph/templates/HR_callout_zh.json+++ b/graph/templates/HR_callout_zh.json@@ -193,7 +193,7 @@"obj": {"component_name": "Retrieval","params": {- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,@@ -574,7 +574,7 @@{"data": {"form": {- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,diff --git a/graph/templates/customer_service.json b/graph/templates/customer_service.jsonindex ab549f69fa..4bcec78adc 100644--- a/graph/templates/customer_service.json+++ b/graph/templates/customer_service.json@@ -151,7 +151,7 @@"obj": {"component_name": "Retrieval","params": {- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,@@ -468,7 +468,7 @@{"data": {"form": {- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,diff --git a/graph/templates/general_chat_bot.json b/graph/templates/general_chat_bot.jsonindex 94df899205..3a9c694da4 100644--- a/graph/templates/general_chat_bot.json+++ b/graph/templates/general_chat_bot.json@@ -54,7 +54,7 @@"component_name": "Retrieval","params": {"empty_response": "Sorry, knowledge base has noting related information.",- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,@@ -216,7 +216,7 @@"data": {"form": {"empty_response": "Sorry, knowledge base has noting related information.",- "kb_ids": ["869a236818b811ef91dffa163e197198"],+ "kb_ids": [],"keywords_similarity_weight": 0.3,"rerank_id": "BAAI/bge-reranker-v2-m3","similarity_threshold": 0.2,