Consolidate memories
consolidateCluster similar memories by embedding similarity to reduce redundancy, and optionally create derived memories linked via 'derived_from' for consolidated knowledge.
Instructions
Cluster similar memories via embedding similarity and optionally create derived/consolidated memories linked via 'derived_from'. Use during periodic consolidation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| derive | No | Create a derived memory for each cluster | |
| projectId | No | Scope to a project | |
| threshold | No | Cosine similarity threshold for clustering (default 0.7) | |
| minClusterSize | No | Minimum members to report a cluster (default 2) |