Provides information to the Recognizer that specifies how to
process the recognition request.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
google.cloud.speech_v2.types.ExplicitDecodingConfig
Explicitly specified decoding parameters.
Required if using headerless PCM audio
(linear16, mulaw, alaw).
This field is a member of oneof_ decoding_config.
model
str
Optional. Which model to use for recognition requests.
Select the model best suited to your domain to get best
results.
Guidance for choosing which model to use can be found in the
`Transcription Models
Documentation
language_codes
MutableSequence[str]
Optional. The language of the supplied audio as a
BCP-47 __
language tag. Language tags are normalized to BCP-47 before
they are used eg "en-us" becomes "en-US".
Supported languages for each model are listed in the `Table
of Supported
Models
google.cloud.speech_v2.types.TranscriptNormalization
Optional. Use transcription normalization to
automatically replace parts of the transcript
with phrases of your choosing. For
StreamingRecognize, this normalization only
applies to stable partial transcripts (stability
> 0.8) and final transcripts.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class RecognitionConfig (2.33.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.33.0 (latest)](/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.32.0](/python/docs/reference/speech/2.32.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.31.0](/python/docs/reference/speech/2.31.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.30.0](/python/docs/reference/speech/2.30.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.29.0](/python/docs/reference/speech/2.29.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.28.1](/python/docs/reference/speech/2.28.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.27.0](/python/docs/reference/speech/2.27.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.26.1](/python/docs/reference/speech/2.26.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.25.1](/python/docs/reference/speech/2.25.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.24.1](/python/docs/reference/speech/2.24.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.23.0](/python/docs/reference/speech/2.23.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.22.0](/python/docs/reference/speech/2.22.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.21.1](/python/docs/reference/speech/2.21.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.20.1](/python/docs/reference/speech/2.20.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.19.0](/python/docs/reference/speech/2.19.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.18.0](/python/docs/reference/speech/2.18.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.17.3](/python/docs/reference/speech/2.17.3/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.16.2](/python/docs/reference/speech/2.16.2/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.15.1](/python/docs/reference/speech/2.15.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.14.1](/python/docs/reference/speech/2.14.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.13.1](/python/docs/reference/speech/2.13.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.12.0](/python/docs/reference/speech/2.12.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.11.1](/python/docs/reference/speech/2.11.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.10.0](/python/docs/reference/speech/2.10.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.9.3](/python/docs/reference/speech/2.9.3/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.8.0](/python/docs/reference/speech/2.8.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.7.0](/python/docs/reference/speech/2.7.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.6.0](/python/docs/reference/speech/2.6.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.5.1](/python/docs/reference/speech/2.5.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.4.1](/python/docs/reference/speech/2.4.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.3.0](/python/docs/reference/speech/2.3.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.2.1](/python/docs/reference/speech/2.2.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.1.0](/python/docs/reference/speech/2.1.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [2.0.1](/python/docs/reference/speech/2.0.1/google.cloud.speech_v2.types.RecognitionConfig)\n- [1.3.4](/python/docs/reference/speech/1.3.4/google.cloud.speech_v2.types.RecognitionConfig)\n- [1.2.0](/python/docs/reference/speech/1.2.0/google.cloud.speech_v2.types.RecognitionConfig)\n- [1.1.0](/python/docs/reference/speech/1.1.0/google.cloud.speech_v2.types.RecognitionConfig) \n\n RecognitionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nProvides information to the Recognizer that specifies how to\nprocess the recognition request.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]