opened 09:13AM - 05 Nov 23 UTC
closed 09:29AM - 05 Nov 23 UTC
🤖:bug
### System Info
I have successfully installed the apoc plugin by pressing the n…eo4j document, and run ` return apoc.version() ` on the neo4j client to return successfully.
However, when Neo4jGraph was used in Langchain connection, errors were still reported.
```
ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration
```
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.graphs import Neo4jGraph
graph = Neo4jGraph(
'bolt://localhost:7687',
'neo4j',
'chenhuabc'
)
print(graph)
# ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration
### Expected behavior
I have successfully installed the apoc plugin by pressing the neo4j document, and run ` return apoc.version() ` on the neo4j client to return successfully.
However, when Neo4jGraph was used in Langchain connection, errors were still reported.
```
ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration
```