Reranks
trait Reranks
Methods
rerank(array $documents, string $query, int|null $limit = null, string|null $model = null, int $timeout = 30, array $providerOptions = [])
Rerank the given documents based on their relevance to the query.
Details
at line 24
RerankingResponse
rerank(array $documents, string $query, int|null $limit = null, string|null $model = null, int $timeout = 30, array $providerOptions = [])
Rerank the given documents based on their relevance to the query.