We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a700bbf commit 9cec18aCopy full SHA for 9cec18a
speech/cloud-client/src/main/java/com/example/speech/Recognize.java
@@ -735,8 +735,6 @@ public static void transcribeFileWithEnhancedModel(String fileName) throws Excep
735
.setEncoding(AudioEncoding.LINEAR16)
736
.setLanguageCode("en-US")
737
.setSampleRateHertz(8000)
738
- // Enhanced models are only available to projects that
739
- // opt in for audio data collection.
740
.setUseEnhanced(true)
741
// A model must be specified to use enhanced model.
742
.setModel("phone_call")
0 commit comments