RetrieveResultItem
¶
Source code in docs_src/capo_kendra/types/retrieve_result_item.py
document_attributes
instance-attribute
¶
document_attributes: NotRequired[DocumentAttributeList]
An array of document fields/attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.
document_id
instance-attribute
¶
document_id: NotRequired[DocumentId]
The identifier of the document.
document_title
instance-attribute
¶
document_title: NotRequired[DocumentTitle]
The title of the document.
document_uri
instance-attribute
¶
document_uri: NotRequired[Url]
The URI of the original location of the document.
score_attributes
instance-attribute
¶
score_attributes: NotRequired[ScoreAttributes]
The confidence score bucket for a retrieved passage result. The confidence bucket provides a relative ranking that indicates how confident Amazon Kendra is that the response is relevant to the query.