@@ -209,7 +209,7 @@ def recognize(
209209 timestamps : Optional [bool ] = None ,
210210 profanity_filter : Optional [bool ] = None ,
211211 smart_formatting : Optional [bool ] = None ,
212- smart_formatting_version : Optional [bool ] = None ,
212+ smart_formatting_version : Optional [int ] = None ,
213213 speaker_labels : Optional [bool ] = None ,
214214 grammar_name : Optional [str ] = None ,
215215 redaction : Optional [bool ] = None ,
@@ -447,9 +447,9 @@ def recognize(
447447 (all dialects) transcription only.
448448 See [Smart
449449 formatting](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#smart-formatting).
450- :param bool smart_formatting_version: (optional) Smart formatting version
451- is for next-generation models and that is supported in US English,
452- Brazilian Portuguese, French and German languages.
450+ :param int smart_formatting_version: (optional) Smart formatting version is
451+ for next-generation models and that is supported in US English, Brazilian
452+ Portuguese, French and German languages.
453453 :param bool speaker_labels: (optional) If `true`, the response includes
454454 labels that identify which words were spoken by which participants in a
455455 multi-person exchange. By default, the service returns no speaker labels.
@@ -818,7 +818,7 @@ def create_job(
818818 timestamps : Optional [bool ] = None ,
819819 profanity_filter : Optional [bool ] = None ,
820820 smart_formatting : Optional [bool ] = None ,
821- smart_formatting_version : Optional [bool ] = None ,
821+ smart_formatting_version : Optional [int ] = None ,
822822 speaker_labels : Optional [bool ] = None ,
823823 grammar_name : Optional [str ] = None ,
824824 redaction : Optional [bool ] = None ,
@@ -1106,9 +1106,9 @@ def create_job(
11061106 (all dialects) transcription only.
11071107 See [Smart
11081108 formatting](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#smart-formatting).
1109- :param bool smart_formatting_version: (optional) Smart formatting version
1110- is for next-generation models and that is supported in US English,
1111- Brazilian Portuguese, French and German languages.
1109+ :param int smart_formatting_version: (optional) Smart formatting version is
1110+ for next-generation models and that is supported in US English, Brazilian
1111+ Portuguese, French and German languages.
11121112 :param bool speaker_labels: (optional) If `true`, the response includes
11131113 labels that identify which words were spoken by which participants in a
11141114 multi-person exchange. By default, the service returns no speaker labels.
0 commit comments