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
Update templates:Text2sql and DB Description (#2361)
lidp22c5affacc7e
diff --git a/agent/templates/DB Assistant.json b/agent/templates/DB Assistant.jsonindex 85d598cb67..1088388e11 100644--- a/agent/templates/DB Assistant.json+++ b/agent/templates/DB Assistant.json@@ -120,6 +120,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in DB-Description!","kb_ids": ["b510f8f45f6011ef904f0242ac160006"],@@ -139,6 +140,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in DDL!","kb_ids": ["9870268e5f6011efb8570242ac160006"],@@ -158,6 +160,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in Q->SQL!","kb_ids": ["dd401bcc5b9e11efae770242ac160006"],@@ -408,6 +411,7 @@{"data": {"form": {+ "empty_response": "Nothing found in Q->SQL!","kb_ids": ["dd401bcc5b9e11efae770242ac160006"],@@ -493,6 +497,7 @@{"data": {"form": {+ "empty_response": "Nothing found in DB-Description!","kb_ids": ["b510f8f45f6011ef904f0242ac160006"],@@ -523,6 +528,7 @@{"data": {"form": {+ "empty_response": "Nothing found in DDL!","kb_ids": ["9870268e5f6011efb8570242ac160006"],diff --git a/agent/templates/text2sql.json b/agent/templates/text2sql.jsonindex 4dc3232ef1..f5d79b30e9 100644--- a/agent/templates/text2sql.json+++ b/agent/templates/text2sql.json@@ -69,6 +69,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in DB-Description!","kb_ids": ["0ab5de985ba911efad9942010a8a0006"],@@ -88,6 +89,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in DDL!","kb_ids": ["b1a6a45e5ba811ef80dc42010a8a0006"],@@ -107,6 +109,7 @@"obj": {"component_name": "Retrieval","params": {+ "empty_response": "Nothing found in Q-SQL!""kb_ids": ["31257b925b9f11ef9f0142010a8a0004"],@@ -286,6 +289,7 @@{"data": {"form": {+ "empty_response": "Nothing found in Q-SQL!","kb_ids": ["31257b925b9f11ef9f0142010a8a0004"],@@ -371,6 +375,7 @@{"data": {"form": {+ "empty_response": "Nothing found in DB-Description!","kb_ids": ["0ab5de985ba911efad9942010a8a0006"],@@ -401,6 +406,7 @@{"data": {"form": {+ "empty_response": "Nothing found in DDL!","kb_ids": ["b1a6a45e5ba811ef80dc42010a8a0006"],