Module Values.DocumentCharLocationSource

Specifies a character-level location within a document, providing precise positioning information for cited content using start and end character indices.

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

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

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

    The starting character position of the cited content within the document.

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

    The ending character position of the cited content within the document.

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