Header menu logo Nao

ConstitutionRuleDef Type

Parsed constitution rule definition loaded from JSON

Record fields

Record Field Description

Category

Full Usage: Category

Field type: string

Category: "Safety", "Privacy", "Behavioral", "Format", or "Domain:"

Field type: string

Description

Full Usage: Description

Field type: string

Human-readable description

Field type: string

Id

Full Usage: Id

Field type: string

Unique rule identifier

Field type: string

IsHardConstraint

Full Usage: IsHardConstraint

Field type: bool

Whether this is a hard constraint (blocks output) vs soft (warning)

Field type: bool

Pattern

Full Usage: Pattern

Field type: string

Regex pattern for the check (content matching this pattern violates the rule)

Field type: string

Priority

Full Usage: Priority

Field type: int

Priority (higher = more important)

Field type: int

Type something to start searching.