AutomatedReasoningPolicyDefinition
Contains the formal logic rules, variables, and custom variable types that define an Automated Reasoning policy. The policy definition specifies the constraints used to validate foundation model responses for accuracy and logical consistency.
Contents
- rules
-
The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.
Type: Array of AutomatedReasoningPolicyDefinitionRule objects
Array Members: Minimum number of 0 items. Maximum number of 1500 items.
Required: No
- types
-
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.
Type: Array of AutomatedReasoningPolicyDefinitionType objects
Array Members: Minimum number of 0 items. Maximum number of 150 items.
Required: No
- variables
-
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.
Type: Array of AutomatedReasoningPolicyDefinitionVariable objects
Array Members: Minimum number of 0 items. Maximum number of 600 items.
Required: No
- version
-
The version of the policy definition format.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: