Skip to main content
Version: 0.0.7 (stable)

agrag.evidence.rerank.reranker_from_settings

reranker_from_settings(settings:RetrievalSettings) -> CrossEncoderReranker | None

Build the reranker the retrieval settings configure, or None.

Never loads the model; loading happens on the first rerank call or an explicit warm_up.

Parameters:

Returns: