Build a GraphRAG Tool
In the previous lessons, you learned about building tools with the @mcp.tool() decorator and using the Context object to access lifespan resources and provide logging.
In this challenge, you will build a tool that searches for movies in a specific genre, using iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. and iFull definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node. from the graph to provide relevant context to the iGo to glossary for large language model (opens in a new tab)A model trained on text to predict the next token, and so to generate language. - the essence of iFull 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..
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register