Authorizations
Body
The query to rerank the documents by.
The list of documents to rerank. Each document is a string.
The model ID to use for reranking. Options are: ["zerank-1", "zerank-1-small"]
If provided, then only the top n
documents will be returned in the results array. Otherwise, n
will be the length of the provided documents array.
Response
Successful Response
The results, ordered by descending order of relevance to the query.