Class SpeakerDiarizationConfig (2.24.1)

SpeakerDiarizationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration to enable speaker diarization.

Attributes

NameDescription
min_speaker_count int
Required. Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. To fix the number of speakers detected in the audio, set min_speaker_count = max_speaker_count.
max_speaker_count int
Required. Maximum number of speakers in the conversation. Valid values are: 1-6. Must be >= min_speaker_count. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.