Class: Aws::Bedrock::Types::AutomatedReasoningPolicyTestCase
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyTestCase
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Represents a test for validating an Automated Reasoning policy. tests contain sample inputs and expected outcomes to verify policy behavior.
Constant Summary collapse
- SENSITIVE =
[:guard_content, :query_content]
Instance Attribute Summary collapse
-
#confidence_threshold ⇒ Float
The minimum confidence level for logic validation.
-
#created_at ⇒ Time
The timestamp when the test was created.
-
#expected_aggregated_findings_result ⇒ String
The expected result of the Automated Reasoning check for this test.
-
#guard_content ⇒ String
The output content to be validated by the policy, typically representing a foundation model response.
-
#query_content ⇒ String
The input query or prompt that generated the content.
-
#test_case_id ⇒ String
The unique identifier of the test.
-
#updated_at ⇒ Time
The timestamp when the test was last updated.
Instance Attribute Details
#confidence_threshold ⇒ Float
The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#created_at ⇒ Time
The timestamp when the test was created.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#expected_aggregated_findings_result ⇒ String
The expected result of the Automated Reasoning check for this test.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#guard_content ⇒ String
The output content to be validated by the policy, typically representing a foundation model response.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#query_content ⇒ String
The input query or prompt that generated the content. This provides context for the validation.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#test_case_id ⇒ String
The unique identifier of the test.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |
#updated_at ⇒ Time
The timestamp when the test was last updated.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1671 class AutomatedReasoningPolicyTestCase < Struct.new( :test_case_id, :guard_content, :query_content, :expected_aggregated_findings_result, :created_at, :updated_at, :confidence_threshold) SENSITIVE = [:guard_content, :query_content] include Aws::Structure end |