Authorizations
Body
Natural language query to re-rank chunks against. If a vector store query was originally used to retrieve these chunks, please use the same query for this ranking
List of chunks to rank
The ranking strategy to use.
Rank strategies determine how the ranking is done, They consist of the ranking method name and additional params needed to compute the ranking.
Use the built-in cross_encoder
or rouge
strategies or create a custom one with the Models API.
- CrossEncoderRankStrategy
- RougeRankStrategy
- ModelRankStrategy
- AzureAIFoundryRankStrategy
Number of chunks to return. Must be greater than 0 if specified. If not specified, all chunks will be returned.
x > 0
Account to rank chunks with. If you have access to more than one account, you must specify an account_id
Response
Successful Response
List of chunks ranked by the requested rank strategy