Module Values.StartSpeechSynthesisStreamActionStreamSource

Inbound event stream for sending input and control events to manage bidirectional speech synthesis.

Sourcetype nonrec t = {
  1. textEvent : TextEvent.t option;
    (*

    A text event containing content to be synthesized.

    *)
  2. closeStreamEvent : CloseStreamEvent.t option;
    (*

    An event indicating the end of the input stream.

    *)
}
Sourceval make : ?textEvent:??? -> ?closeStreamEvent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Text.t | `Structure of (string * [> `Boolean of Force.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