Module Values.AudioFillerSettingsSource

Configuration that plays background filler audio during speech-to-speech interactions to mask processing delays and improve the perceived responsiveness of the bot. Audio filler requires unifiedSpeechSettings (speech-to-speech) to be enabled on the bot locale when enabled is true.

Sourcetype nonrec t = {
  1. enabled : Boolean.t option;
    (*

    Specifies whether audio filler playback is enabled for the bot locale. Set to true to play filler audio while Amazon Lex processes a user utterance. Set to false to disable filler audio.

    *)
  2. audioType : AudioFillerType.t option;
    (*

    The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when enabled is true.

    *)
  3. startDelayInMilliseconds : AudioFillerDelayInMilliseconds.t option;
    (*

    The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is 500 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 2500 milliseconds.

    *)
  4. minimumPlayDurationInMilliseconds : AudioFillerDurationInMilliseconds.t option;
    (*

    The minimum time, in milliseconds, that audio filler plays once it has started, even if the bot response becomes ready sooner. Valid range is 1000 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 3000 milliseconds.

    *)
  5. responseDeliveryDelayInMilliseconds : AudioFillerDeliveryDelayInMilliseconds.t option;
    (*

    The silent delay, in milliseconds, inserted between the end of audio filler playback and the start of the bot's response. Valid range is 200 to 1000 milliseconds. If not specified, Amazon Lex uses a default of 500 milliseconds.

    *)
}
Sourceval make : ?enabled:??? -> ?audioType:??? -> ?startDelayInMilliseconds:??? -> ?minimumPlayDurationInMilliseconds:??? -> ?responseDeliveryDelayInMilliseconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of AudioFillerDelayInMilliseconds.t ]) 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