@@ -404,7 +404,7 @@ class SpeechToTextV1 extends BaseService {
404
404
* **Note:** The parameter can be used with US English, Japanese, and Spanish (all dialects) transcription only.
405
405
*
406
406
* See [Smart formatting](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#smart-formatting).
407
- * @param {boolean } [params.smartFormattingVersion] - Smart formatting version is for next-generation models and that
407
+ * @param {number } [params.smartFormattingVersion] - Smart formatting version is for next-generation models and that
408
408
* is supported in US English, Brazilian Portuguese, French and German languages.
409
409
* @param {boolean } [params.speakerLabels] - If `true`, the response includes labels that identify which words were
410
410
* spoken by which participants in a multi-person exchange. By default, the service returns no speaker labels. Setting
@@ -972,7 +972,7 @@ class SpeechToTextV1 extends BaseService {
972
972
* **Note:** The parameter can be used with US English, Japanese, and Spanish (all dialects) transcription only.
973
973
*
974
974
* See [Smart formatting](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#smart-formatting).
975
- * @param {boolean } [params.smartFormattingVersion] - Smart formatting version is for next-generation models and that
975
+ * @param {number } [params.smartFormattingVersion] - Smart formatting version is for next-generation models and that
976
976
* is supported in US English, Brazilian Portuguese, French and German languages.
977
977
* @param {boolean } [params.speakerLabels] - If `true`, the response includes labels that identify which words were
978
978
* spoken by which participants in a multi-person exchange. By default, the service returns no speaker labels. Setting
@@ -4200,7 +4200,7 @@ namespace SpeechToTextV1 {
4200
4200
/** Smart formatting version is for next-generation models and that is supported in US English, Brazilian
4201
4201
* Portuguese, French and German languages.
4202
4202
*/
4203
- smartFormattingVersion ?: boolean ;
4203
+ smartFormattingVersion ?: number ;
4204
4204
/** If `true`, the response includes labels that identify which words were spoken by which participants in a
4205
4205
* multi-person exchange. By default, the service returns no speaker labels. Setting `speaker_labels` to `true`
4206
4206
* forces the `timestamps` parameter to be `true`, regardless of whether you specify `false` for the parameter.
@@ -4633,7 +4633,7 @@ namespace SpeechToTextV1 {
4633
4633
/** Smart formatting version is for next-generation models and that is supported in US English, Brazilian
4634
4634
* Portuguese, French and German languages.
4635
4635
*/
4636
- smartFormattingVersion ?: boolean ;
4636
+ smartFormattingVersion ?: number ;
4637
4637
/** If `true`, the response includes labels that identify which words were spoken by which participants in a
4638
4638
* multi-person exchange. By default, the service returns no speaker labels. Setting `speaker_labels` to `true`
4639
4639
* forces the `timestamps` parameter to be `true`, regardless of whether you specify `false` for the parameter.
0 commit comments