read_graph
Retrieve the complete knowledge graph to access stored user information across conversations for persistent memory.
Instructions
Read the entire knowledge graph
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The implementation of the read_graph tool in the KnowledgeGraphManager class. It retrieves the knowledge graph by calling the _check_cache helper method, which handles loading from a file and caching.
async def read_graph(self) -> KnowledgeGraph: """ Read the entire knowledge graph using the cached version if available. """ return await self._check_cache()