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."],[[["This documentation covers the `SpeakerDiarizationConfig` class within the Google Cloud Speech-to-Text v2 API, used for enabling speaker diarization in audio."],["The `SpeakerDiarizationConfig` class is part of the `Google.Cloud.Speech.V2` namespace and is implemented by several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors, a default constructor, and one that takes another `SpeakerDiarizationConfig` object as a parameter for creating a copy."],["It includes properties for setting `MinSpeakerCount` and `MaxSpeakerCount`, which are required and allow users to specify the minimum and maximum number of speakers expected in the audio, respectively, ranging from 1 to 6."],["The latest version of the documentation is for version 1.4.0, and older versions are available back to 1.0.0, allowing you to access the documentation for your specific version."]]],[]]