Table of Contents

Property MinScore

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

MinScore

Gets or sets the minimum similarity score required for a partition to be considered relevant.

public float MinScore { get; set; }

Property Value

float

A value between 0 and 1, where higher values require closer semantic matches.

Remarks

Increase this value to reduce false positives (irrelevant results). Decrease it to cast a wider net when exact matches are unlikely.

Assigning a value sets an absolute cosine floor, which is model-specific: a question and the short fact answering it are near-paraphrases rather than duplicates, and embedding spaces place unrelated text well above zero, by an amount that differs from one model family to the next. A floor that suits one embedder therefore silently drops correct memories on another, even though they still rank first.

While left unassigned, the floor is instead calibrated to the embedding model's own scale, which holds its meaning across families and separates a stored fact that answers the question from a question the store cannot answer more reliably than any single absolute value. Prefer leaving it unassigned unless a specific cosine cutoff is required.

Share