Skip to content

SpeakerDiarizationSettings

Source code in docs_src/capo_lex_models_v2/types/speaker_diarization_settings.py
class SpeakerDiarizationSettings(TypedDict, closed=True):
    enabled: "capo_lex_models_v2.types.enabled.Enabled"
    """<p>Specifies whether speaker diarization is enabled for the bot locale. Set to <code>true</code> to have Amazon Lex treat speech from speakers other than the primary speaker as non-speech. Set to <code>false</code> to disable speaker diarization and rely on voice activity detection alone.</p>"""

enabled instance-attribute

enabled: 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.