Skip to content

AutomatedReasoningPolicyTestCase

Source code in docs_src/capo_bedrock/types/automated_reasoning_policy_test_case.py
class AutomatedReasoningPolicyTestCase(TypedDict, closed=True):
    test_case_id: "capo_bedrock.types.automated_reasoning_policy_test_case_id.AutomatedReasoningPolicyTestCaseId"
    """<p>The unique identifier of the test.</p>"""
    guard_content: "capo_bedrock.types.automated_reasoning_policy_test_guard_content.AutomatedReasoningPolicyTestGuardContent"
    """<p>The output content to be validated by the policy, typically representing a foundation model response.</p>"""
    query_content: NotRequired[
        "capo_bedrock.types.automated_reasoning_policy_test_query_content.AutomatedReasoningPolicyTestQueryContent"
    ]
    """<p>The input query or prompt that generated the content. This provides context for the validation.</p>"""
    expected_aggregated_findings_result: NotRequired[
        "capo_bedrock.types.automated_reasoning_check_result.AutomatedReasoningCheckResult"
    ]
    """<p>The expected result of the Automated Reasoning check for this test.</p>"""
    created_at: "capo_bedrock.types.timestamp.Timestamp"
    """<p>The timestamp when the test was created.</p>"""
    updated_at: "capo_bedrock.types.timestamp.Timestamp"
    """<p>The timestamp when the test was last updated.</p>"""
    confidence_threshold: NotRequired[
        "capo_bedrock.types.automated_reasoning_check_translation_confidence.AutomatedReasoningCheckTranslationConfidence"
    ]
    """<p>The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.</p>"""

confidence_threshold instance-attribute

confidence_threshold: NotRequired[AutomatedReasoningCheckTranslationConfidence]

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

created_at instance-attribute

created_at: Timestamp

The timestamp when the test was created.

expected_aggregated_findings_result instance-attribute

expected_aggregated_findings_result: NotRequired[AutomatedReasoningCheckResult]

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

guard_content instance-attribute

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

query_content instance-attribute

query_content: NotRequired[AutomatedReasoningPolicyTestQueryContent]

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

test_case_id instance-attribute

The unique identifier of the test.

updated_at instance-attribute

updated_at: Timestamp

The timestamp when the test was last updated.