Module Values.EmailGenerativeAnswerChunkDataDetails

Details of streaming chunk data for email generative answers including completion text and references.

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

    The partial or complete text content of the generative answer response.

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

    Source references and citations from knowledge base articles used to generate the answer.

    *)
  3. nextChunkToken : NextToken.t option;
    (*

    Token for retrieving the next chunk of streaming response data, if available.

    *)
}
Sourceval make : ?completion:NonEmptySensitiveString.t -> ?references:DataSummaryList.t -> ?nextChunkToken:NextToken.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