Skip to content

ModelEnforcementDict

Dictionary Type

ModelEnforcementDict

Bases: TypedDict

Dictionary form of ModelEnforcement.

Attributes

excluded_models instance-attribute
excluded_models: Required[Sequence[str]]

Models to exclude from enforcement of the guardrail.

included_models instance-attribute
included_models: Required[Sequence[str]]

Models to enforce the guardrail on.