Skip to content

GuardrailAutomatedReasoningTranslation

Source code in docs_src/capo_bedrock_runtime/types/guardrail_automated_reasoning_translation.py
class GuardrailAutomatedReasoningTranslation(TypedDict, closed=True):
    premises: NotRequired[
        "capo_bedrock_runtime.types.guardrail_automated_reasoning_statement_list.GuardrailAutomatedReasoningStatementList"
    ]
    """<p>The logical statements that serve as the foundation or assumptions for the claims.</p>"""
    claims: NotRequired[
        "capo_bedrock_runtime.types.guardrail_automated_reasoning_statement_list.GuardrailAutomatedReasoningStatementList"
    ]
    """<p>The logical statements that are being validated against the premises and policy rules.</p>"""
    untranslated_premises: NotRequired[
        "capo_bedrock_runtime.types.guardrail_automated_reasoning_input_text_reference_list.GuardrailAutomatedReasoningInputTextReferenceList"
    ]
    """<p>References to portions of the original input text that correspond to the premises but could not be fully translated.</p>"""
    untranslated_claims: NotRequired[
        "capo_bedrock_runtime.types.guardrail_automated_reasoning_input_text_reference_list.GuardrailAutomatedReasoningInputTextReferenceList"
    ]
    """<p>References to portions of the original input text that correspond to the claims but could not be fully translated.</p>"""
    confidence: NotRequired[
        "capo_bedrock_runtime.types.guardrail_automated_reasoning_translation_confidence.GuardrailAutomatedReasoningTranslationConfidence"
    ]
    """<p>A confidence score between 0 and 1 indicating how certain the system is about the logical translation.</p>"""

claims instance-attribute

The logical statements that are being validated against the premises and policy rules.

confidence instance-attribute

A confidence score between 0 and 1 indicating how certain the system is about the logical translation.

premises instance-attribute

The logical statements that serve as the foundation or assumptions for the claims.

untranslated_claims instance-attribute

untranslated_claims: NotRequired[GuardrailAutomatedReasoningInputTextReferenceList]

References to portions of the original input text that correspond to the claims but could not be fully translated.

untranslated_premises instance-attribute

untranslated_premises: NotRequired[GuardrailAutomatedReasoningInputTextReferenceList]

References to portions of the original input text that correspond to the premises but could not be fully translated.