Module scoring

Module scoring 

Source
Expand description

L3 verification via cross-encoder reranking.

Given a query and candidate CacheEntrys, score them with Reranker and decide whether the best candidate is above the configured threshold.

Note: CrossEncoderScorer treats CacheEntry::payload_blob as UTF-8 candidate text.

Re-exports§

pub use error::ScoringError;
pub use scorer::CrossEncoderScorer;
pub use types::VerificationResult;
pub use types::VerifiedCandidate;

Modules§

error
Scoring/verification errors.
scorer
Cross-encoder scorer.
types
Scoring result types.