Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

fix: JSON syntax errors in GraphRAG notebook

KaifAhmad10e2f1369dd44
diff --git a/cookbook/use_cases/advanced_rag/01_GraphRAG_Complete.ipynb b/cookbook/use_cases/advanced_rag/01_GraphRAG_Complete.ipynb
index 5fee8de6..4123d115 100644
--- a/cookbook/use_cases/advanced_rag/01_GraphRAG_Complete.ipynb
+++ b/cookbook/use_cases/advanced_rag/01_GraphRAG_Complete.ipynb
@@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "# 🚀 Enterprise GraphRAG: End-to-End with Semantica\n",
+ "# GraphRAG\n",
"\n",
"## Overview\n",
"\n",
@@ -251,7 +251,7 @@
"print(\"🧬 Inferred Ontology Classes:\")\n",
"if \"classes\" in ontology:\n",
" for cls in ontology[\"classes\"][:5]:\n",
- " print(f" - {cls.get('name')}: {cls.get('description', 'No description inferred')}")\n",
+ " print(f\" - {cls.get('name')}: {cls.get('description', 'No description inferred')}\")\n",
"else:\n",
" print(\" (Ontology generation requires sufficient data volume for inference)\")"
]
@@ -298,10 +298,10 @@
"\n",
"if target_node:\n",
" neighbors = list(kg[target_node])\n",
- " print(f" Entity '{target_node}' is connected to:")\n",
+ " print(f\" Entity '{target_node}' is connected to:\")\n",
" for n in neighbors:\n",
" relation = kg[target_node][n].get('type', 'related_to')\n",
- " print(f" --[{relation}]--> {n}")\n",
+ " print(f\" --[{relation}]--> {n}\")\n",
"else:\n",
" print(\" (Entity 'GAT-KG' not explicitly found in graph nodes)\")"
]
@@ -364,4 +364,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
-}
\ No newline at end of file
+}