Skip to content

GuardrailRegexConfig

Source code in docs_src/capo_qconnect/types/guardrail_regex_config.py
class GuardrailRegexConfig(TypedDict, closed=True):
    name: "capo_qconnect.types.guardrail_regex_name.GuardrailRegexName"
    """<p>The name of the regular expression to configure for the AI Guardrail.</p>"""
    description: NotRequired[
        "capo_qconnect.types.guardrail_regex_description.GuardrailRegexDescription"
    ]
    """<p>The description of the regular expression to configure for the AI Guardrail.</p>"""
    pattern: "capo_qconnect.types.guardrail_regex_pattern.GuardrailRegexPattern"
    """<p>The regular expression pattern to configure for the AI Guardrail.</p>"""
    action: "capo_qconnect.types.guardrail_sensitive_information_action.GuardrailSensitiveInformationAction"
    """<p>The AI Guardrail action to configure when matching regular expression is detected.</p>"""

action instance-attribute

The AI Guardrail action to configure when matching regular expression is detected.

description instance-attribute

description: NotRequired[GuardrailRegexDescription]

The description of the regular expression to configure for the AI Guardrail.

name instance-attribute

The name of the regular expression to configure for the AI Guardrail.

pattern instance-attribute

The regular expression pattern to configure for the AI Guardrail.