ExAgent. Embeddings. Reranking
(ExAgent v3.0.0)
View Source
Reranked results in descending relevance and the request's qualified usage. Each index is a zero-based position in the supplied documents.
Stability — Candidate.
Summary
Types
@type item() :: %{index: non_neg_integer(), relevance_score: float()}
@type t() :: %ExAgent.Embeddings.Reranking{ results: [item()], usage: ExAgent.Message.Usage.t() }