Skip to content

AutomatedReasoningPolicyDefinitionDict

Dictionary Type

AutomatedReasoningPolicyDefinitionDict

Bases: TypedDict

Dictionary form of AutomatedReasoningPolicyDefinition.

Attributes

rules instance-attribute

The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.

types instance-attribute

The custom user-defined vairable types used in the policy. Types are enum-based variable types that provide additional context beyond the predefined variable types.

variables instance-attribute

The variables that represent concepts in the policy. Variables can have values assigned when translating natural language into formal logic. Their descriptions are crucial for accurate translation.

version instance-attribute
version: str | None

The version of the policy definition format.