AutomatedReasoningPolicySourceDocument¶
Structure Class¶
AutomatedReasoningPolicySourceDocument
dataclass
¶
Represents a source document that was processed during a build workflow. Contains the document content, metadata, and a hash for verification.
Attributes¶
document
class-attribute
instance-attribute
¶
document: bytes = field(repr=False)
The raw content of the source document as a binary blob.
document_content_type
instance-attribute
¶
document_content_type: AutomatedReasoningPolicyBuildDocumentContentType
The MIME type of the document (e.g., application/pdf, text/plain).
document_description
class-attribute
instance-attribute
¶
document_description: str | None = field(repr=False, default=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
class-attribute
instance-attribute
¶
document_name: str = field(repr=False)
The name of the source document for identification purposes.