Module Values.GenerativeDataDetails

Details about generative data.

Sourcetype nonrec t = {
  1. completion : SensitiveString.t option;
    (*

    The LLM response.

    *)
  2. references : DataSummaryList.t option;
    (*

    The references used to generative the LLM response.

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

    Details about the generative content ranking data.

    *)
}
Sourceval make : ?completion:SensitiveString.t -> ?references:DataSummaryList.t -> ?rankingData:RankingData.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t