How to Use Direct Import
The Direct Import feature allows users to skip the memory deduction phase and directly input pre-defined memories into the system for storage and retrieval. To enable this feature, set theinfer parameter to False in the add method.
Direct import stores
"user" and "assistant" messages alike, regardless of which entity ids you pass. Only "system" messages are dropped. Each surviving message becomes one memory, with its content stored verbatim.How to Retrieve Memories
You can retrieve memories using thesearch method.
How to Retrieve All Memories
You can retrieve all memories using theget_all method.
get_all() now requires filters to be specified.Discord
Join our community
GitHub
Ask questions on GitHub
Support
Talk to founders