Skip to content

QueryAssistantRequest

Source code in docs_src/capo_wisdom/types/query_assistant_request.py
class QueryAssistantRequest(TypedDict, closed=True):
    assistant_id: "capo_wisdom.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    query_text: "capo_wisdom.types.query_text.QueryText"
    """<p>The text to search for.</p>"""
    next_token: NotRequired["capo_wisdom.types.next_token.NextToken"]
    """<p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>"""
    max_results: NotRequired["capo_wisdom.types.max_results.MaxResults"]
    """<p>The maximum number of results to return per page.</p>"""

assistant_id instance-attribute

assistant_id: UuidOrArn

The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of results to return per page.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

query_text instance-attribute

query_text: QueryText

The text to search for.