Skip to content

SlotTypeConfiguration

Source code in docs_src/capo_lex_model_building_service/types/slot_type_configuration.py
class SlotTypeConfiguration(TypedDict, closed=True):
    regex_configuration: NotRequired[
        "capo_lex_model_building_service.types.slot_type_regex_configuration.SlotTypeRegexConfiguration"
    ]
    """<p>A regular expression used to validate the value of a slot.</p>"""

regex_configuration instance-attribute

regex_configuration: NotRequired[SlotTypeRegexConfiguration]

A regular expression used to validate the value of a slot.