View a markdown version of this page

AudioFillerSettings - Amazon Lex

AudioFillerSettings

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.

Contents

audioType

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Valid Values: MELODY_CHIPPER_CHIME | MELODY_CURIOUS_CRAWL | MELODY_RISING_RIPPLE | MELODY_PATIENT_PING | MELODY_PONDERING_PONG | TYPING_KINETIC_KEYS | TYPING_QUIET_QWERTY

Required: No

enabled

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.

Type: Boolean

Required: No

minimumPlayDurationInMilliseconds

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.

Type: Integer

Required: No

responseDeliveryDelayInMilliseconds

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.

Type: Integer

Required: No

startDelayInMilliseconds

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.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: