You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/deepgram/resources/listen/v1/media/requests/ListenV1RequestUrl.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -336,15 +336,15 @@ public Optional<Boolean> getDetectLanguage() {
336
336
}
337
337
338
338
/**
339
-
* @return Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0
339
+
* @return Deprecated: use <code>diarize_model</code> instead. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0.
340
340
*/
341
341
@JsonIgnore
342
342
publicOptional<Boolean> getDiarize() {
343
343
returndiarize;
344
344
}
345
345
346
346
/**
347
-
* @return Select and enable a specific batch diarization model version. If specifying this parameter, you should not set the deprecated <code>diarize=true</code> parameter. Not accepted on streaming requests.
347
+
* @return Select and enable a specific diarization model version. Specifying this parameter enables diarization and selects the model — you do not need to also set the deprecated <code>diarize=true</code> parameter. For batch, supported values are <code>latest</code> (currently v2), <code>v1</code>, and <code>v2</code>. For streaming, supported values are <code>latest</code> (currently v1) and <code>v1</code>; <code>v2</code> returns a validation error on streaming requests.
@@ -752,14 +752,14 @@ public interface _FinalStage {
752
752
_FinalStagedetectLanguage(BooleandetectLanguage);
753
753
754
754
/**
755
-
* <p>Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0</p>
755
+
* <p>Deprecated: use <code>diarize_model</code> instead. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0.</p>
756
756
*/
757
757
_FinalStagediarize(Optional<Boolean> diarize);
758
758
759
759
_FinalStagediarize(Booleandiarize);
760
760
761
761
/**
762
-
* <p>Select and enable a specific batch diarization model version. If specifying this parameter, you should not set the deprecated <code>diarize=true</code> parameter. Not accepted on streaming requests.</p>
762
+
* <p>Select and enable a specific diarization model version. Specifying this parameter enables diarization and selects the model — you do not need to also set the deprecated <code>diarize=true</code> parameter. For batch, supported values are <code>latest</code> (currently v2), <code>v1</code>, and <code>v2</code>. For streaming, supported values are <code>latest</code> (currently v1) and <code>v1</code>; <code>v2</code> returns a validation error on streaming requests.</p>
@@ -1359,7 +1359,7 @@ public _FinalStage dictation(Optional<Boolean> dictation) {
1359
1359
}
1360
1360
1361
1361
/**
1362
-
* <p>Select and enable a specific batch diarization model version. If specifying this parameter, you should not set the deprecated <code>diarize=true</code> parameter. Not accepted on streaming requests.</p>
1362
+
* <p>Select and enable a specific diarization model version. Specifying this parameter enables diarization and selects the model — you do not need to also set the deprecated <code>diarize=true</code> parameter. For batch, supported values are <code>latest</code> (currently v2), <code>v1</code>, and <code>v2</code>. For streaming, supported values are <code>latest</code> (currently v1) and <code>v1</code>; <code>v2</code> returns a validation error on streaming requests.</p>
1363
1363
* @return Reference to {@code this} so that method calls can be chained together.
1364
1364
*/
1365
1365
@java.lang.Override
@@ -1369,7 +1369,7 @@ public _FinalStage diarizeModel(MediaTranscribeRequestDiarizeModel diarizeModel)
1369
1369
}
1370
1370
1371
1371
/**
1372
-
* <p>Select and enable a specific batch diarization model version. If specifying this parameter, you should not set the deprecated <code>diarize=true</code> parameter. Not accepted on streaming requests.</p>
1372
+
* <p>Select and enable a specific diarization model version. Specifying this parameter enables diarization and selects the model — you do not need to also set the deprecated <code>diarize=true</code> parameter. For batch, supported values are <code>latest</code> (currently v2), <code>v1</code>, and <code>v2</code>. For streaming, supported values are <code>latest</code> (currently v1) and <code>v1</code>; <code>v2</code> returns a validation error on streaming requests.</p>
@@ -1379,7 +1379,7 @@ public _FinalStage diarizeModel(Optional<MediaTranscribeRequestDiarizeModel> dia
1379
1379
}
1380
1380
1381
1381
/**
1382
-
* <p>Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0</p>
1382
+
* <p>Deprecated: use <code>diarize_model</code> instead. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0.</p>
1383
1383
* @return Reference to {@code this} so that method calls can be chained together.
1384
1384
*/
1385
1385
@java.lang.Override
@@ -1389,7 +1389,7 @@ public _FinalStage diarize(Boolean diarize) {
1389
1389
}
1390
1390
1391
1391
/**
1392
-
* <p>Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0</p>
1392
+
* <p>Deprecated: use <code>diarize_model</code> instead. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0.</p>
0 commit comments