OptionalCancellationOptional signal for cancelling the request. BaseReranker.Rerank() refuses a call whose
signal is already aborted, without calling the driver; once the driver is running, the driver
is responsible for honoring it by handing it to the provider's HTTP client or prompt run. A
call the signal ends resolves with success: false, and its errorInfo classifies a caller
cancellation as Cancelled, which is never failed over.
Documents to rerank (typically from vector search results)
OptionaloptionsProvider-specific options (passed through to the reranker implementation)
The query text to rank documents against
OptionaltopMaximum number of results to return after reranking. If not specified, returns all reranked documents.
Parameters for a rerank operation.