public sealed class SpeechToTextConfig : IMessage<SpeechToTextConfig>, IEquatable<SpeechToTextConfig>, IDeepCloneable<SpeechToTextConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SpeechToTextConfig.
Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile].
public SpeechModelVariant SpeechModelVariant { get; set; }
The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED, USE_BEST_AVAILABLE will be treated as
USE_ENHANCED. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and
[StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.
If enhanced model variant is specified and an enhanced
version of the specified model for the language does not exist, then it
would emit an error.
[[["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-04-09 UTC."],[[["The provided content details the `SpeechToTextConfig` class within the Google Cloud Dialogflow v2 API, specifically for versions ranging from 3.2.0 to 4.26.0, with the latest version being 4.26.0."],["`SpeechToTextConfig` is used to set up speech transcription configurations for ConversationProfiles in Google Cloud Dialogflow v2."],["The `SpeechToTextConfig` class includes properties like `SpeechModelVariant`, which allows setting the specific speech model to use for speech-to-text transcription, with options like `USE_BEST_AVAILABLE` and `USE_ENHANCED`."],["The class implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, allowing for deep cloning and equality comparison."],["The class has two constructors: a default constructor, `SpeechToTextConfig()`, and another constructor, `SpeechToTextConfig(SpeechToTextConfig other)` that accepts an instance of `SpeechToTextConfig` as a parameter."]]],[]]