# RAG_CONFIDENCE_THRESHOLDS

**Kind:** Constant

**Source:** [`atloria-monorepo/libs/parser-core/src/techdocs/grounded-ask.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/techdocs/grounded-ask.ts#L58)

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.
