Skip to content

OutputFormat

Source code in docs_src/capo_bedrock_runtime/types/output_format.py
class OutputFormat(TypedDict, closed=True):
    type: "capo_bedrock_runtime.types.output_format_type.OutputFormatType"
    """<p> The type of structured output format. </p>"""
    structure: (
        "capo_bedrock_runtime.types.output_format_structure.OutputFormatStructure"
    )
    """<p> The structure that the model's output must adhere to. </p>"""

structure instance-attribute

The structure that the model's output must adhere to.

type instance-attribute

The type of structured output format.