Overview
The AddMemoryOptions interface defines the optional configuration used when adding a new memory via the MemMachineMemory.add() method. It allows for detailed categorization, role assignment, and metadata tagging.
Properties
All properties in this interface are optional, allowing for flexible memory ingestion depending on your use case.
Usage Example
The following example shows how to use AddMemoryOptions to provide context when saving a user preference.
While metadata is optional, using it consistently is recommended for advanced filtering during semantic searches.