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

item()

@type item() :: %{index: non_neg_integer(), relevance_score: float()}

t()

@type t() :: %ExAgent.Embeddings.Reranking{
  results: [item()],
  usage: ExAgent.Message.Usage.t()
}