Skip to content

CustomConfiguration

Source code in docs_src/capo_textract/types/custom_configuration.py
class CustomConfiguration(TypedDict, closed=True):
    blueprints: "capo_textract.types.blueprint_items.BlueprintItems"
    """<p>The blueprints used to extract custom structured output.</p>"""
    fallback_blueprints: NotRequired[
        "capo_textract.types.fallback_blueprint_items.FallbackBlueprintItems"
    ]
    """<p>The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint in <code>Blueprints</code>.</p>"""

blueprints instance-attribute

blueprints: BlueprintItems

The blueprints used to extract custom structured output.

fallback_blueprints instance-attribute

fallback_blueprints: NotRequired[FallbackBlueprintItems]

The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint in Blueprints.