From ddcdf4d6fc9082a819905491f7def698d2e6c0c3 Mon Sep 17 00:00:00 2001 From: Yosua Koeswandy Date: Sat, 28 Dec 2024 11:12:55 +0700 Subject: [PATCH] fix: Fix graphRAG notebook triplet extraction template --- docs/docs/examples/cookbooks/GraphRAG_v1.ipynb | 4 ++-- docs/docs/examples/cookbooks/GraphRAG_v2.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/examples/cookbooks/GraphRAG_v1.ipynb b/docs/docs/examples/cookbooks/GraphRAG_v1.ipynb index 3c4811db97cd9..2c04ae29b7640 100644 --- a/docs/docs/examples/cookbooks/GraphRAG_v1.ipynb +++ b/docs/docs/examples/cookbooks/GraphRAG_v1.ipynb @@ -996,7 +996,7 @@ "- entity_name: Name of the entity, capitalized\n", "- entity_type: Type of the entity\n", "- entity_description: Comprehensive description of the entity's attributes and activities\n", - "Format each entity as (\"entity\"$$$$$$$$$$$$)\n", + "Format each entity as (\"entity\"$$$$\"\"$$$$\"\"$$$$\"\")\n", "\n", "2. From the entities identified in step 1, identify all pairs of (source_entity, target_entity) that are *clearly related* to each other.\n", "For each pair of related entities, extract the following information:\n", @@ -1005,7 +1005,7 @@ "- relation: relationship between source_entity and target_entity\n", "- relationship_description: explanation as to why you think the source entity and the target entity are related to each other\n", "\n", - "Format each relationship as (\"relationship\"$$$$$$$$$$$$$$$$)\n", + "Format each relationship as (\"relationship\"$$$$\"\"$$$$\"\"$$$$\"\"$$$$\"\")\n", "\n", "3. When finished, output.\n", "\n", diff --git a/docs/docs/examples/cookbooks/GraphRAG_v2.ipynb b/docs/docs/examples/cookbooks/GraphRAG_v2.ipynb index d80b1bd024730..7e1f2e71809cb 100644 --- a/docs/docs/examples/cookbooks/GraphRAG_v2.ipynb +++ b/docs/docs/examples/cookbooks/GraphRAG_v2.ipynb @@ -778,7 +778,7 @@ "- entity_name: Name of the entity, capitalized\n", "- entity_type: Type of the entity\n", "- entity_description: Comprehensive description of the entity's attributes and activities\n", - "Format each entity as (\"entity\"$$$$$$$$$$$$)\n", + "Format each entity as (\"entity\"$$$$\"\"$$$$\"\"$$$$\"\")\n", "\n", "2. From the entities identified in step 1, identify all pairs of (source_entity, target_entity) that are *clearly related* to each other.\n", "For each pair of related entities, extract the following information:\n", @@ -787,7 +787,7 @@ "- relation: relationship between source_entity and target_entity\n", "- relationship_description: explanation as to why you think the source entity and the target entity are related to each other\n", "\n", - "Format each relationship as (\"relationship\"$$$$$$$$$$$$$$$$)\n", + "Format each relationship as (\"relationship\"$$$$\"\"$$$$\"\"$$$$\"\"$$$$\"\")\n", "\n", "3. When finished, output.\n", "\n",