Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

refa: remove document graph snapshot payload (#18488)

buua436f2cfd86df439
diff --git a/rag/advanced_rag/knowlege_compile/structure.py b/rag/advanced_rag/knowlege_compile/structure.py
index 663149dfee..099ced6572 100644
--- a/rag/advanced_rag/knowlege_compile/structure.py
+++ b/rag/advanced_rag/knowlege_compile/structure.py
@@ -2396,7 +2396,6 @@ async def _struct_upsert_graph_json(
row_id = _struct_graph_row_id(doc_id, compile_kwd, compilation_template_id)
row = {
"id": row_id,
- "content_with_weight": json.dumps(graph, ensure_ascii=False),
"compile_kwd": compile_kwd,
"knowledge_graph_kwd": "graph",
"doc_id": doc_id,