Skip to content

AutomatedReasoningPolicySourceDocument

Source code in docs_src/capo_bedrock/types/automated_reasoning_policy_source_document.py
class AutomatedReasoningPolicySourceDocument(TypedDict, closed=True):
    document: "capo_bedrock.types.automated_reasoning_policy_build_document_blob.AutomatedReasoningPolicyBuildDocumentBlob"
    """<p>The raw content of the source document as a binary blob.</p>"""
    document_content_type: "capo_bedrock.types.automated_reasoning_policy_build_document_content_type.AutomatedReasoningPolicyBuildDocumentContentType"
    """<p>The MIME type of the document (e.g., application/pdf, text/plain).</p>"""
    document_name: "capo_bedrock.types.automated_reasoning_policy_build_document_name.AutomatedReasoningPolicyBuildDocumentName"
    """<p>The name of the source document for identification purposes.</p>"""
    document_description: NotRequired[
        "capo_bedrock.types.automated_reasoning_policy_build_document_description.AutomatedReasoningPolicyBuildDocumentDescription"
    ]
    """<p>An optional description providing context about the document's content and purpose.</p>"""
    document_hash: "capo_bedrock.types.automated_reasoning_policy_document_sha256.AutomatedReasoningPolicyDocumentSha256"
    """<p>A SHA-256 hash of the document content, used for verification and integrity checking.</p>"""

document instance-attribute

The raw content of the source document as a binary blob.

document_content_type instance-attribute

The MIME type of the document (e.g., application/pdf, text/plain).

document_description instance-attribute

document_description: NotRequired[AutomatedReasoningPolicyBuildDocumentDescription]

An optional description providing context about the document's content and purpose.

document_hash instance-attribute

A SHA-256 hash of the document content, used for verification and integrity checking.

document_name instance-attribute

The name of the source document for identification purposes.