diff --git a/langchain/graphs/neo4j_graph.py b/langchain/graphs/neo4j_graph.py index 4433771a..8942b2b2 100644 --- a/langchain/graphs/neo4j_graph.py +++ b/langchain/graphs/neo4j_graph.py @@ -62,7 +62,8 @@ class Neo4jGraph: except neo4j.exceptions.ClientError: raise ValueError( "Could not use APOC procedures. " - "Please install the APOC plugin in Neo4j." + "Please ensure the APOC plugin is installed in Neo4j and that " + "'apoc.meta.data()' is allowed in Neo4j configuration " ) @property