MemoriTools provides persistent memory capabilities for agents with conversation history, user preferences, and long-term context.
Parameter | Type | Default | Description |
---|---|---|---|
database_url | str | None | Database connection string (SQLite, PostgreSQL, etc.). |
user_id | Optional[str] | None | User identifier for memory isolation. |
session_id | Optional[str] | None | Session identifier for conversation tracking. |
enable_store_memory | bool | True | Enable memory storage functionality. |
enable_retrieve_memory | bool | True | Enable memory retrieval functionality. |
enable_search_memory | bool | True | Enable memory search functionality. |
enable_delete_memory | bool | True | Enable memory deletion functionality. |
enable_get_conversation_history | bool | True | Enable conversation history retrieval. |
Function | Description |
---|---|
store_memory | Store new memories or information. |
retrieve_memory | Retrieve specific memories by ID or criteria. |
search_memory | Search through stored memories using queries. |
delete_memory | Delete specific memories or memory sets. |
get_conversation_history | Retrieve conversation history for context. |