Skip to content

RAG_CONFIDENCE_THRESHOLDS

reference
1 min readUpdated

Kind: Constant

Source: atloria-monorepo/libs/parser-core/src/techdocs/grounded-ask.ts

Similarity thresholds on the retrieve() score scale: cosine 0..1 for semantic hits, with keyword-exact hits arriving pre-scored at 1. Tuned for text-embedding-3 cosine similarity, where genuinely relevant chunks typically land ~0.5-0.8.

Was this page helpful?

Download as PDF