Skip to content

AutomatedReasoningPolicySourceDocument

Structure Class

AutomatedReasoningPolicySourceDocument dataclass

Bases: _SerdeShape

Represents a source document that was processed during a build workflow. Contains the document content, metadata, and a hash for verification.

Attributes

document instance-attribute
document: bytes

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

document_content_type instance-attribute
document_content_type: str

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

document_description class-attribute instance-attribute
document_description: str | None = ...

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

document_hash instance-attribute
document_hash: str

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

document_name instance-attribute
document_name: str

The name of the source document for identification purposes.