Module Values.SourceContentDataDetailsSource

Details about the source content data.

Sourcetype nonrec t = {
  1. id : Uuid.t option;
    (*

    The identifier of the source content.

    *)
  2. type_ : SourceContentType.t option;
    (*

    The type of the source content.

    *)
  3. textData : TextData.t option;
    (*

    Details about the source content text data.

    *)
  4. rankingData : RankingData.t option;
    (*

    Details about the source content ranking data.

    *)
  5. citationSpan : CitationSpan.t option;
    (*

    Contains information about where the text with a citation begins and ends in the generated output.

    *)
}
Sourceval make : ?id:??? -> ?type_:??? -> ?textData:??? -> ?rankingData:??? -> ?citationSpan:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Uuid.t | `Structure of (string * [> `Double of RelevanceScore.t | `Enum of string | `Integer of CitationSpanOffset.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of HighlightOffset.t ]) list ] list | `String of SensitiveString.t ]) list ]) 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