Update README.md

This commit is contained in:
2026-07-30 05:51:23 +00:00
parent ef44f52fa2
commit 6387a84558

View File

@@ -71,6 +71,14 @@ Archetypical cosine scores range from -1 to 1.
0: Vectors are at a 90-degree angle (orthogonal/unrelated). 0: Vectors are at a 90-degree angle (orthogonal/unrelated).
-1: Vectors point in opposite directions. -1: Vectors point in opposite directions.
## The role of rerank models
Rerankers are high-precision, fine second (or third) stage filters. Rerankers run "from scratch" on query-source/answer-source pairs and are computationally expensive.
A reranker assigns relevance scoring by evaluating query-source/answer-source pair similarity within a multi-dimensional vector space. They should be RAG-pipeline-downstream of embedding models, which are "coarse" - and occasionally yield false positives on semantically irrelevant chunks.
Reranker are justifiable and high-value where 1. accuracy is at an absolute premium because of the magnitude of downside risk (ex. uses cases: litigation, health care and medical research science) 2. token-economization heuristics exist at earlier pipeline stages, and 3. system and network latency reduction is optimized.
## Design ## Design
Two-package monorepo: Two-package monorepo: