Update neo4j template readmes (#12540)

This commit is contained in:
Tomaz Bratanic
2023-10-30 15:57:53 +01:00
committed by GitHub
parent b2138508cb
commit 8e88ba16a8
5 changed files with 84 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ from langchain.vectorstores import Neo4jVector
retrieval_query = """
MATCH (node)-[:HAS_PARENT]->(parent)
WITH parent, max(score) AS score // deduplicate parents
RETURN parent.text AS text, score, {} AS metadata
"""