The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Fix neo4j enhanced schema (#21582)
Tomaz Bratanic9fce03e7db35
diff --git a/libs/community/langchain_community/graphs/neo4j_graph.py b/libs/community/langchain_community/graphs/neo4j_graph.pyindex 82809e495f..697b2221cb 100644--- a/libs/community/langchain_community/graphs/neo4j_graph.py+++ b/libs/community/langchain_community/graphs/neo4j_graph.py@@ -573,9 +573,9 @@ class Neo4jGraph(GraphStore):is_relationship: bool = False,) -> str:if is_relationship:- match_clause = f"MATCH ()-[n:{label_or_type}]->()"+ match_clause = f"MATCH ()-[n:`{label_or_type}`]->()"else:- match_clause = f"MATCH (n:{label_or_type})"+ match_clause = f"MATCH (n:`{label_or_type}`)"with_clauses = []return_clauses = []