Skip to content

OutputConfig

Source code in docs_src/capo_bedrock_runtime/types/output_config.py
class OutputConfig(TypedDict, closed=True):
    text_format: NotRequired["capo_bedrock_runtime.types.output_format.OutputFormat"]
    """<p>Structured output parameters to control the model's text response. </p>"""
    effort: NotRequired["str"]
    """<p>The effort level for the model to use when generating a response. Higher effort levels allow the model to spend more time reasoning before responding. Supported values are <code>low</code>, <code>medium</code>, <code>high</code>, <code>xhigh</code>, and <code>max</code>.</p> <note> <p>When extended thinking is disabled, the effort level is capped at <code>high</code>. Use effort <code>high</code> or below, or enable thinking to use higher effort levels.</p> </note>"""

effort instance-attribute

effort: NotRequired[str]

The effort level for the model to use when generating a response. Higher effort levels allow the model to spend more time reasoning before responding. Supported values are low, medium, high, xhigh, and max.

When extended thinking is disabled, the effort level is capped at high. Use effort high or below, or enable thinking to use higher effort levels.

text_format instance-attribute

text_format: NotRequired[OutputFormat]

Structured output parameters to control the model's text response.