CmdID / aws / aws bedrock-agent-runtime
aws bedrock-agent-runtime rerank
Reranks the relevance of sources based on queries. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--next-tokenIf the total number of results was greater than could fit in a response, a token is returned in the nextToken field.--queriesAn array of objects, each of which contains information about a query to submit to the reranker model.--reranking-configurationContains configurations for reranking.--sourcesAn array of objects, each of which contains information about the sources to rerank.