Skip to content

RescoreRequest

Source code in docs_src/capo_kendra_ranking/types/rescore_request.py
class RescoreRequest(TypedDict, closed=True):
    rescore_execution_plan_id: (
        "capo_kendra_ranking.types.rescore_execution_plan_id.RescoreExecutionPlanId"
    )
    """<p>The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"""
    search_query: "capo_kendra_ranking.types.search_query.SearchQuery"
    """<p>The input query from the search service.</p>"""
    documents: "capo_kendra_ranking.types.document_list.DocumentList"
    """<p>The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.</p>"""

documents instance-attribute

documents: DocumentList

The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.

rescore_execution_plan_id instance-attribute

rescore_execution_plan_id: RescoreExecutionPlanId

The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.

search_query instance-attribute

search_query: SearchQuery

The input query from the search service.