Class: Aws::Bedrock::Types::AutomatedReasoningPolicyTestCase

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#confidence_thresholdFloat

The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_atTime

The timestamp when the test was created.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_resultString

The expected result of the Automated Reasoning check for this test.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_contentString

The output content to be validated by the policy, typically representing a foundation model response.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_contentString

The input query or prompt that generated the content. This provides context for the validation.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_idString

The unique identifier of the test.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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_atTime

The timestamp when the test was last updated.



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# File 'lib/aws-sdk-bedrock/types.rb', line 1820

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