Skip to content

Bedrock  >  Structures  >  AutomatedReasoningPolicyReportSourceDocument

AutomatedReasoningPolicyReportSourceDocument

Structure Class

AutomatedReasoningPolicyReportSourceDocument dataclass

Represents a source document that was analyzed during fidelity report generation, including the document's metadata and its content broken down into atomic statements.

Attributes

atomic_statements instance-attribute
atomic_statements: list[AutomatedReasoningPolicyAtomicStatement]

The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.

document_content instance-attribute

The document's content organized into annotated chunks with line number information for precise referencing.

document_hash instance-attribute
document_hash: str

A SHA-256 hash of the document content, used for verification and ensuring the document hasn't changed since analysis.

document_id instance-attribute
document_id: str

A unique identifier for this document within the fidelity report.

document_name class-attribute instance-attribute
document_name: str = field(repr=False)

The name of the source document that was analyzed.