Module Values.DocumentChunkLocationSource

Specifies a chunk-level location within a document, providing positioning information for cited content using logical document segments or chunks.

Sourcetype nonrec t = {
  1. documentIndex : DocumentChunkLocationDocumentIndexInteger.t option;
    (*

    The index of the document within the array of documents provided in the request.

    *)
  2. start : DocumentChunkLocationStartInteger.t option;
    (*

    The starting chunk identifier or index of the cited content within the document.

    *)
  3. end_ : DocumentChunkLocationEndInteger.t option;
    (*

    The ending chunk identifier or index of the cited content within the document.

    *)
}
Sourceval make : ?documentIndex:??? -> ?start:??? -> ?end_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of DocumentChunkLocationDocumentIndexInteger.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