/AWS1/CL_LM2AUDIOFILLERSTGS¶
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.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_enabled TYPE /AWS1/LM2BOOLEAN /AWS1/LM2BOOLEAN¶
Specifies whether audio filler playback is enabled for the bot locale. Set to
trueto play filler audio while Amazon Lex processes a user utterance. Set tofalseto disable filler audio.
iv_audiotype TYPE /AWS1/LM2AUDIOFILLERTYPE /AWS1/LM2AUDIOFILLERTYPE¶
The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when
enabledistrue.
iv_startdelayinmilliseconds TYPE /AWS1/LM2AUDIOFILDELAYINMILSEC /AWS1/LM2AUDIOFILDELAYINMILSEC¶
The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is
500to5000milliseconds. If not specified, Amazon Lex uses a default of2500milliseconds.
iv_minimumplaydurinmillisecs TYPE /AWS1/LM2AUDIOFILLDURINMILSECS /AWS1/LM2AUDIOFILLDURINMILSECS¶
The minimum time, in milliseconds, that audio filler plays once it has started, even if the bot response becomes ready sooner. Valid range is
1000to5000milliseconds. If not specified, Amazon Lex uses a default of3000milliseconds.
iv_rspdlvrydelayinmillisecs TYPE /AWS1/LM2AUDIOFILDLVDELAYINM00 /AWS1/LM2AUDIOFILDLVDELAYINM00¶
The silent delay, in milliseconds, inserted between the end of audio filler playback and the start of the bot's response. Valid range is
200to1000milliseconds. If not specified, Amazon Lex uses a default of500milliseconds.
Queryable Attributes¶
enabled¶
Specifies whether audio filler playback is enabled for the bot locale. Set to
trueto play filler audio while Amazon Lex processes a user utterance. Set tofalseto disable filler audio.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLED() |
Getter for ENABLED |
audioType¶
The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when
enabledistrue.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUDIOTYPE() |
Getter for AUDIOTYPE, with configurable default |
ASK_AUDIOTYPE() |
Getter for AUDIOTYPE w/ exceptions if field has no value |
HAS_AUDIOTYPE() |
Determine if AUDIOTYPE has a value |
startDelayInMilliseconds¶
The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is
500to5000milliseconds. If not specified, Amazon Lex uses a default of2500milliseconds.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTDELAYINMILLISECONDS() |
Getter for STARTDELAYINMILLISECONDS, with configurable defau |
ASK_STARTDELAYINMILLISECONDS() |
Getter for STARTDELAYINMILLISECONDS w/ exceptions if field h |
HAS_STARTDELAYINMILLISECONDS() |
Determine if STARTDELAYINMILLISECONDS has a value |
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
1000to5000milliseconds. If not specified, Amazon Lex uses a default of3000milliseconds.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINPLAYDURINMILLISECS() |
Getter for MINIMUMPLAYDURINMILLISECONDS, with configurable d |
ASK_MINPLAYDURINMILLISECS() |
Getter for MINIMUMPLAYDURINMILLISECONDS w/ exceptions if fie |
HAS_MINPLAYDURINMILLISECS() |
Determine if MINIMUMPLAYDURINMILLISECONDS has a value |
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
200to1000milliseconds. If not specified, Amazon Lex uses a default of500milliseconds.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RSPDLVRYDELAYINMILLISECS() |
Getter for RSPDLVRYDELAYINMILLISECONDS, with configurable de |
ASK_RSPDLVRYDELAYINMILLISECS() |
Getter for RSPDLVRYDELAYINMILLISECONDS w/ exceptions if fiel |
HAS_RSPDLVRYDELAYINMILLISECS() |
Determine if RSPDLVRYDELAYINMILLISECONDS has a value |