# Dialogflow CX V3 API - Module Google::Cloud::Dialogflow::CX::V3::SpeechModelVariant (v1.12.1)

1.12.1 (latest) 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.26.0 0.25.0 0.24.2 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.0 Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::SpeechModelVariant.

Variant of the specified \[Speech
model\]\[google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] to use.


<br />

See the [Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
for which models have different variants. For example, the "phone_call" model
has both a standard and an enhanced variant. When you use an enhanced model,
you will generally receive higher quality results than for a standard model.

## Constants

### SPEECH_MODEL_VARIANT_UNSPECIFIED

**value:** 0  
No model variant specified. In this case Dialogflow defaults to
USE_BEST_AVAILABLE.

### USE_BEST_AVAILABLE

**value:** 1  
Use the best available variant of the \[Speech
model\]\[InputAudioConfig.model\] that the caller is eligible for.

### USE_STANDARD

**value:** 2  
Use standard model variant even if an enhanced model is available. See the
[Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
for details about enhanced models.

### USE_ENHANCED

**value:** 3  
Use an enhanced model variant:


- If an enhanced variant does not exist for the given [model](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-InputAudioConfig#Google__Cloud__Dialogflow__CX__V3__InputAudioConfig_model_instance_ "Google::Cloud::Dialogflow::CX::V3::InputAudioConfig#model (method)") and request language, Dialogflow falls back to the standard variant.

<br />

The [Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
describes which models have enhanced variants.