Property ConsolidationSimilarityThreshold
ConsolidationSimilarityThreshold
Gets or sets the similarity threshold used to identify clusters of related memories during consolidation.
public float ConsolidationSimilarityThreshold { get; set; }
Property Value
- float
A value between 0 and 1. Memories with pairwise similarity above this threshold are grouped into the same cluster and merged. Default is
0.7.
Examples
Example: Setting a conservative consolidation threshold
memory.ConsolidationSimilarityThreshold = 0.85f;
Remarks
Lower values create larger clusters (more aggressive merging). Higher values create smaller clusters (only near-duplicates are merged).
0.6: aggressive merging of loosely related facts0.7: moderate merging of clearly related facts (default)0.85: conservative merging of near-duplicates only