Find clusters of similar experiences
consolidateCluster similar past episodes into groups and generate one generalized rule per cluster to capture the underlying lesson. Read-only consolidation for learning from experience.
Instructions
Deterministic clustering of episodes that look like the same underlying lesson. For each cluster, write ONE record with kind='rule' that generalises them. Read-only; nothing is changed by this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_size | No | Minimum cluster size to report (default 3) | |
| threshold | No | Cosine similarity to cluster at (default 0.8) |