Skip to content

/AWS1/CL_LM2SPEAKERDIARSTGS

Specifies configuration that restricts speech detection to the primary (loudest) speaker during streaming audio conversations, so that speech from background speakers does not start a turn, interrupt the bot, or reach speech recognition.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/LM2ENABLED /AWS1/LM2ENABLED

Specifies whether speaker diarization is enabled for the bot locale. Set to true to have Amazon Lex treat speech from speakers other than the primary speaker as non-speech. Set to false to disable speaker diarization and rely on voice activity detection alone.


Queryable Attributes

enabled

Specifies whether speaker diarization is enabled for the bot locale. Set to true to have Amazon Lex treat speech from speakers other than the primary speaker as non-speech. Set to false to disable speaker diarization and rely on voice activity detection alone.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED