Module Values.CitationLocationSource

Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.

Sourcetype nonrec t = {
  1. web : WebLocation.t option;
    (*

    The web URL that was cited for this reference.

    *)
  2. documentChar : DocumentCharLocation.t option;
    (*

    The character-level location within the document where the cited content is found.

    *)
  3. documentPage : DocumentPageLocation.t option;
    (*

    The page-level location within the document where the cited content is found.

    *)
  4. documentChunk : DocumentChunkLocation.t option;
    (*

    The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.

    *)
  5. searchResultLocation : SearchResultLocation.t option;
    (*

    The search result location where the cited content is found, including the search result index and block positions within the content array.

    *)
}
Sourceval make : ?web:??? -> ?documentChar:??? -> ?documentPage:??? -> ?documentChunk:??? -> ?searchResultLocation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of DocumentCharLocationDocumentIndexInteger.t | `String of String_.t ]) list ]) 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