Module Values.AutomatedReasoningPolicyReportSourceDocumentSource

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

Sourcetype nonrec t = {
  1. documentName : AutomatedReasoningPolicyBuildDocumentName.t option;
    (*

    The name of the source document that was analyzed.

    *)
  2. documentHash : AutomatedReasoningPolicyDocumentSha256.t option;
    (*

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

    *)
  3. documentId : AutomatedReasoningPolicyDocumentId.t option;
    (*

    A unique identifier for this document within the fidelity report.

    *)
  4. atomicStatements : AutomatedReasoningPolicyAtomicStatementList.t option;
    (*

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

    *)
  5. documentContent : AutomatedReasoningPolicyAnnotatedChunkList.t option;
    (*

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

    *)
}
Sourceval make : ?documentName:??? -> ?documentHash:??? -> ?documentId:??? -> ?atomicStatements:??? -> ?documentContent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t | `String of AutomatedReasoningPolicyLineText.t ]) list ]) list ] list | `String of AutomatedReasoningPolicyStatementId.t | `Structure of (string * [> `List of [> `Integer of Integer.t ] list ]) list ]) list ] list | `String of AutomatedReasoningPolicyBuildDocumentName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t