Skip to content

PreProcessingParsedResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/pre_processing_parsed_response.py
class PreProcessingParsedResponse(TypedDict, closed=True):
    rationale: NotRequired[
        "capo_bedrock_agent_runtime.types.rationale_string.RationaleString"
    ]
    """<p>The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.</p>"""
    is_valid: NotRequired["bool"]
    """<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>"""

is_valid instance-attribute

is_valid: NotRequired[bool]

Whether the user input is valid or not. If false, the agent doesn't proceed to orchestration.

rationale instance-attribute

rationale: NotRequired[RationaleString]

The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.