public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeakerDiarizationConfig.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `SpeakerDiarizationConfig` class in the Cloud Speech-to-Text v2 API provides configuration options for enabling speaker diarization."],["This class allows setting the minimum and maximum number of speakers (`MinSpeakerCount` and `MaxSpeakerCount`) expected in a conversation, providing flexibility in speaker detection."],["The latest version of `SpeakerDiarizationConfig` is 1.4.0, while the current page documents version 1.3.0, with prior versions also being 1.2.0, 1.1.0 and 1.0.0."],["The `SpeakerDiarizationConfig` class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["To ensure a fixed number of speakers are detected, the `min_speaker_count` should be equal to `max_speaker_count`."]]],[]]