Find clusters of similar experiences
consolidateCluster similar past episodes to reveal underlying lessons, then generate one generalized rule per cluster. Read-only analysis leaves all data unchanged.
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) |