Expand description
Provider-agnostic reranking abstractions.
Reranking models reorder a list of documents by relevance to a query.
The RerankModel trait defines the interface, and RerankResponse
carries both the scored results and token usage.
Structs§
- Rerank
Response - Response from a reranking request.
- Rerank
Result - A single reranked document result.
Enums§
Traits§
- Rerank
Model - Trait for reranking models that score documents by relevance to a query.