Class SpeakerDiarizationConfig (2.16.1)

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

Config to enable speaker diarization.

Attributes

NameDescription
enable_speaker_diarization bool
If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.
min_speaker_count int
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. If not set, the default value is 2.
max_speaker_count int
Maximum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 6.
speaker_tag int
Output only. Unused.

Inheritance

builtins.object > proto.message.Message > SpeakerDiarizationConfig