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: create KB initial embedding. (#10751)
Kevin Hu5fb5a51b2ed2
diff --git a/api/apps/kb_app.py b/api/apps/kb_app.pyindex 07c860e071..b889b95eed 100644--- a/api/apps/kb_app.py+++ b/api/apps/kb_app.py@@ -70,7 +70,7 @@ def create():e, t = TenantService.get_by_id(current_user.id)if not e:return get_data_error_result(message="Tenant not found.")- req["embd_id"] = t.embd_id+req["parser_config"] = {"layout_recognize": "DeepDOC","chunk_token_num": 512,diff --git a/rag/flow/parser/parser.py b/rag/flow/parser/parser.pyindex a92e1accb0..bff05d0849 100644--- a/rag/flow/parser/parser.py+++ b/rag/flow/parser/parser.py@@ -139,7 +139,7 @@ class ParserParam(ProcessParamBase):"oggvorbis","ape"],- "output_format": "json",+ "output_format": "text",},"video": {"suffix":[@@ -147,7 +147,7 @@ class ParserParam(ProcessParamBase):"avi","mkv"],- "output_format": "json",+ "output_format": "text",},}