Class: Aws::Bedrock::Types::AutomatedReasoningPolicyDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyDefinition
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#rules ⇒ Array<Types::AutomatedReasoningPolicyDefinitionRule>
The formal logic rules extracted from the source document.
-
#types ⇒ Array<Types::AutomatedReasoningPolicyDefinitionType>
The custom user-defined vairable types used in the policy.
-
#variables ⇒ Array<Types::AutomatedReasoningPolicyDefinitionVariable>
The variables that represent concepts in the policy.
-
#version ⇒ String
The version of the policy definition format.
Instance Attribute Details
#rules ⇒ Array<Types::AutomatedReasoningPolicyDefinitionRule>
The formal logic rules extracted from the source document. Rules define the logical constraints that determine whether model responses are valid, invalid, or satisfiable.
1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1097 class AutomatedReasoningPolicyDefinition < Struct.new( :version, :types, :rules, :variables) SENSITIVE = [] include Aws::Structure end |
#types ⇒ Array<Types::AutomatedReasoningPolicyDefinitionType>
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.
1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1097 class AutomatedReasoningPolicyDefinition < Struct.new( :version, :types, :rules, :variables) SENSITIVE = [] include Aws::Structure end |
#variables ⇒ Array<Types::AutomatedReasoningPolicyDefinitionVariable>
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.
1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1097 class AutomatedReasoningPolicyDefinition < Struct.new( :version, :types, :rules, :variables) SENSITIVE = [] include Aws::Structure end |
#version ⇒ String
The version of the policy definition format.
1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1097 class AutomatedReasoningPolicyDefinition < Struct.new( :version, :types, :rules, :variables) SENSITIVE = [] include Aws::Structure end |