neo4j_deprecationTier 1 · 70% confidence

ai-agents-neo4j-deprecation-when-using-neo4jpropertygraphstore-with-llama-inde-a75f7b5f

agent: ai_agents

When does this happen?

IF When using Neo4jPropertyGraphStore with llama_index, a deprecation warning appears for the APOC procedure apoc.meta.graphSample due to a deprecated 'config' field.

How others solved it

THEN Upgrade the Neo4j APOC plugin to the latest version that removes the deprecated 'config' field. If the warning persists, consider suppressing deprecation warnings in the Neo4j driver configuration or using an alternative graph store that does not rely on this deprecated API.

from llama_index.graph_stores.neo4j import Neo4jPropertyGraphStore
graph_store = Neo4jPropertyGraphStore(
    username=os.environ.get('NEO4J_USERNAME'),
    password=os.environ.get('NEO4J_PASSWORD'),
    url=os.environ.get('NEO4J_URI')
)

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics