2.2 · Challenge

Add Neo4j Connection

In the previous lesson, you learned about module-scope driver management and how it helps you properly manage database connections.

In this challenge, you will build a Movies Full definition for GraphRAG (opens in a new tab)Retrieval-augmented generation whose context comes from a knowledge graph, so the model can follow the relationships between facts. Server that creates a Neo4j driver at module scope and uses it in a tool handler.