›Map Tool Results into the Graph
4.5 · Lesson (Optional)

Map Tool Results into the Graph

So far, the agent has learned from what you say. It also learns from what its tools return. Your tools already return structured data: emails, calendar events and tickets.

Each time a tool returns, the agent saves what is in the result as nodesA vertex in a graph. In a property graph it can carry labels and properties. and relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node., without being asked. The same email always produces the same nodes, because no model is involved in this half of memory.