FeaturedResultsItem
¶
Source code in docs_src/capo_kendra/types/featured_results_item.py
additional_attributes
instance-attribute
¶
additional_attributes: NotRequired[AdditionalResultAttributeList]
One or more additional attributes associated with the featured result.
document_attributes
instance-attribute
¶
document_attributes: NotRequired[DocumentAttributeList]
An array of document attributes assigned to a featured 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 featured document.
document_uri
instance-attribute
¶
document_uri: NotRequired[Url]
The source URI location of the featured document.
feedback_token
instance-attribute
¶
feedback_token: NotRequired[FeedbackToken]
A token that identifies a particular featured result from a particular query. Use this token to provide click-through feedback for the result. For more information, see Submitting feedback.
type
instance-attribute
¶
type: NotRequired[QueryResultType]
The type of document within the featured result response. For example, a response could include a question-answer type that's relevant to the query.