Parameters
IDs of the memories to consolidate.
The consolidated content for the new memory.
Layer for the merged memory.
Behavior
- Creates a new memory with the merged content and a fresh embedding
- Soft-deletes all source memories
- Returns the new consolidated memory
Usage
Pair withfind_duplicates to clean up redundant memories: