v2
latestOpenAPI 3.1.02026-07-2670186350.6 KBrerank
Rerank Documents
Rerank documents based on relevance to a query.
This endpoint allows you to rerank a list of documents based on their relevance to a given query using state-of-the-art reranking models.
The documents will be returned in order of relevance, with the most relevant documents first. Each result includes the original document index and a relevance score.
post/rerank
Request body
Response
Successful Response