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].
Which Speech model to select. Select the model best suited to your domain
to get best results. If a model is not explicitly specified, then a default
model is used.
Refer to
Cloud Speech API
documentation
for more details.
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."],[[["This document provides reference documentation for the `SpeechToTextConfig` class within the Google Cloud Dialogflow v2 API, specifically for version 4.11.0, which is one of many versions ranging from 3.2.0 to 4.26.0 (latest)."],["The `SpeechToTextConfig` class is used to configure speech transcription for `ConversationProfile` in Google Cloud Dialogflow v2, enabling developers to manage speech recognition settings."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is part of the `Google.Cloud.Dialogflow.V2` namespace within the `Google.Cloud.Dialogflow.V2.dll` assembly."],["Key properties within `SpeechToTextConfig` include `Model` to specify the speech model, and `SpeechModelVariant` to select the desired speech model variant, with options to override in other request types."],["The documentation lists numerous versions of the `SpeechToTextConfig` class, allowing users to navigate to documentation for prior versions of the class."]]],[]]