Skip to content

SearchRelevantContentRequest

Source code in docs_src/capo_qbusiness/types/search_relevant_content_request.py
class SearchRelevantContentRequest(TypedDict, closed=True):
    application_id: "capo_qbusiness.types.application_id.ApplicationId"
    """<p>The unique identifier of the Amazon Q Business application to search.</p>"""
    query_text: "capo_qbusiness.types.query_text.QueryText"
    """<p>The text to search for.</p>"""
    content_source: "capo_qbusiness.types.content_source.ContentSource"
    """<p>The source of content to search in.</p>"""
    attribute_filter: NotRequired[
        "capo_qbusiness.types.attribute_filter.AttributeFilter"
    ]
    max_results: "capo_qbusiness.types.max_results.MaxResults"
    """<p>The maximum number of results to return.</p>"""
    next_token: NotRequired["capo_qbusiness.types.next_token.NextToken"]
    """<p>The token for the next set of results. (You received this token from a previous call.)</p>"""

application_id instance-attribute

application_id: ApplicationId

The unique identifier of the Amazon Q Business application to search.

attribute_filter instance-attribute

attribute_filter: NotRequired[AttributeFilter]

content_source instance-attribute

content_source: ContentSource

The source of content to search in.

max_results instance-attribute

max_results: MaxResults

The maximum number of results to return.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token for the next set of results. (You received this token from a previous call.)

query_text instance-attribute

query_text: QueryText

The text to search for.