diarizationConfig property

  1. @TagNumber(9)
SpeakerDiarizationConfig get diarizationConfig

Configuration to enable speaker diarization and set additional parameters to make diarization better suited for your application. When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult.

Implementation

@$pb.TagNumber(9)
SpeakerDiarizationConfig get diarizationConfig => $_getN(4);
  1. @TagNumber(9)
set diarizationConfig (SpeakerDiarizationConfig v)

Implementation

@$pb.TagNumber(9)
set diarizationConfig(SpeakerDiarizationConfig v) {
  setField(9, v);
}