Skip to main content

DEFAULT_RELEVANCE_FLOOR

@forge/monorepo


@forge/monorepo / backend/src / DEFAULT_RELEVANCE_FLOOR

Variable: DEFAULT_RELEVANCE_FLOOR

const DEFAULT_RELEVANCE_FLOOR: 0.4 = 0.4

Defined in: backend/src/knowledge/retrieval.ts:67

Below this fused score, relative to the best result, nothing is returned.

The floor that makes AC-4 real. Without one, every query returns something — the least-bad match — and a model handed the least-bad match cites it. 0.4 of the best score is loose enough not to discard a genuine second-best answer and tight enough to reject a corpus that simply has nothing to say.