@@ -404,7 +404,7 @@ class SpeechToTextV1 extends BaseService {
404404 * **Note:** The parameter can be used with US English, Japanese, and Spanish (all dialects) transcription only.
405405 *
406406 * 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
408408 * is supported in US English, Brazilian Portuguese, French and German languages.
409409 * @param {boolean } [params.speakerLabels] - If `true`, the response includes labels that identify which words were
410410 * 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 {
972972 * **Note:** The parameter can be used with US English, Japanese, and Spanish (all dialects) transcription only.
973973 *
974974 * 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
976976 * is supported in US English, Brazilian Portuguese, French and German languages.
977977 * @param {boolean } [params.speakerLabels] - If `true`, the response includes labels that identify which words were
978978 * spoken by which participants in a multi-person exchange. By default, the service returns no speaker labels. Setting
@@ -4200,7 +4200,7 @@ namespace SpeechToTextV1 {
42004200 /** Smart formatting version is for next-generation models and that is supported in US English, Brazilian
42014201 * Portuguese, French and German languages.
42024202 */
4203- smartFormattingVersion ?: boolean ;
4203+ smartFormattingVersion ?: number ;
42044204 /** If `true`, the response includes labels that identify which words were spoken by which participants in a
42054205 * multi-person exchange. By default, the service returns no speaker labels. Setting `speaker_labels` to `true`
42064206 * forces the `timestamps` parameter to be `true`, regardless of whether you specify `false` for the parameter.
@@ -4633,7 +4633,7 @@ namespace SpeechToTextV1 {
46334633 /** Smart formatting version is for next-generation models and that is supported in US English, Brazilian
46344634 * Portuguese, French and German languages.
46354635 */
4636- smartFormattingVersion ?: boolean ;
4636+ smartFormattingVersion ?: number ;
46374637 /** If `true`, the response includes labels that identify which words were spoken by which participants in a
46384638 * multi-person exchange. By default, the service returns no speaker labels. Setting `speaker_labels` to `true`
46394639 * forces the `timestamps` parameter to be `true`, regardless of whether you specify `false` for the parameter.
0 commit comments