Skip to content

RerankResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/rerank_response.py
class RerankResponse(TypedDict, closed=True):
    results: "capo_bedrock_agent_runtime.types.rerank_results_list.RerankResultsList"
    """<p>An array of objects, each of which contains information about the results of reranking.</p>"""
    next_token: NotRequired["capo_bedrock_agent_runtime.types.next_token.NextToken"]
    """<p>If the total number of results is greater than can fit in the response, use this token in the <code>nextToken</code> field when making another request to return the next batch of results.</p>"""

next_token instance-attribute

next_token: NotRequired[NextToken]

If the total number of results is greater than can fit in the response, use this token in the nextToken field when making another request to return the next batch of results.

results instance-attribute

An array of objects, each of which contains information about the results of reranking.