Session
Your RAG Agent Can't Count. A Graph Can
RAG works for lookups and breaks on questions that need the whole dataset: how many, what is the average, which ones match. The agent sees a few similar passages and answers as if that were everything.
Build a knowledge graph in Neo4j from the same documents with a fixed schema, and let the agent write a read-only Cypher query, so the database counts and averages across every document. See both agents take the same questions, where each one breaks, and when to combine them.
What you'll learn:
• Spot the questions vector search cannot answer: counts, averages and filters across the dataset
• Build a knowledge graph from documents with a fixed schema you control
• Put Text2Cypher behind a read-only agent tool that says "no results" instead of guessing
• Choose RAG, the graph or both for each kind of question
Outline:
• Ask a RAG agent to count
• Turn the documents into a knowledge graph
• Let the agent write the query
• Exact is not the same as right
• When to use RAG, the graph, or both
Elizabeth Fuentes Leone
Developer Advocate
San Francisco, California, United States
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top