From 4b26a35cd7467ad34b97e2f3b03de56926c40fc6 Mon Sep 17 00:00:00 2001 From: Anush Date: Wed, 30 Apr 2025 22:48:05 +0530 Subject: [PATCH] docs: Minor fix graphrag-qdrant-neo4j.md (#1610) Signed-off-by: Anush008 --- .../content/documentation/examples/graphrag-qdrant-neo4j.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdrant-landing/content/documentation/examples/graphrag-qdrant-neo4j.md b/qdrant-landing/content/documentation/examples/graphrag-qdrant-neo4j.md index e742d5aae..bc067b0e8 100644 --- a/qdrant-landing/content/documentation/examples/graphrag-qdrant-neo4j.md +++ b/qdrant-landing/content/documentation/examples/graphrag-qdrant-neo4j.md @@ -482,7 +482,7 @@ The [QdrantNeo4jRetriever](https://qdrant.tech/documentation/frameworks/neo4j-gr **Graph Fetching:** - **`neo4j_driver`** connects to Neo4j for querying graph data. -- **`id_property_neo4j="id"**` ensures the entity IDs from Qdrant match the graph nodes in Neo4j. +- **`id_property_neo4j="id"`** ensures the entity IDs from Qdrant match the graph nodes in Neo4j. ### Querying Neo4j for Related Graph Data @@ -496,7 +496,7 @@ def fetch_related_graph(neo4j_client, entity_ids): RETURN e, r1 as r, n1 as related, r2, n2 UNION MATCH (e:Entity)-[r]-(related) - WHERE e.id IN $entity_ids` + WHERE e.id IN $entity_ids RETURN e, r, related, null as r2, null as n2 """ with neo4j_client.session() as session: