Skip to content

Bedrock Runtime  >  Structures  >  OutputConfig

OutputConfig

Structure Class

OutputConfig dataclass

Output configuration for a model response in a call to Converse or ConverseStream.

Attributes

effort class-attribute instance-attribute
effort: str | None = None

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.

Note

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 class-attribute instance-attribute
text_format: OutputFormat | None = None

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