Show / Hide Table of Contents

Class GoogleCloudDialogflowV2SpeechToTextConfig

Configures speech transcription for ConversationProfile.

Inheritance
object
GoogleCloudDialogflowV2SpeechToTextConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2SpeechToTextConfig : IDirectResponseSchema

Properties

AudioEncoding

Audio encoding of the audio content to process.

Declaration
[JsonProperty("audioEncoding")]
public virtual string AudioEncoding { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableWordInfo

If true, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.

Declaration
[JsonProperty("enableWordInfo")]
public virtual bool? EnableWordInfo { get; set; }
Property Value
Type Description
bool?

LanguageCode

The language of the supplied audio. Dialogflow does not do translations. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. If not specified, the default language configured at ConversationProfile is used.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

Model

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 Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to Cloud Speech API documentation for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use Agent Speech settings for model selection.

Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type Description
string

PhraseSets

List of names of Cloud Speech phrase sets that are used for transcription. For phrase set limitations, please refer to Cloud Speech API quotas and limits.

Declaration
[JsonProperty("phraseSets")]
public virtual IList<string> PhraseSets { get; set; }
Property Value
Type Description
IList<string>

SampleRateHertz

Sample rate (in Hertz) of the audio content sent in the query. Refer to Cloud Speech API documentation for more details.

Declaration
[JsonProperty("sampleRateHertz")]
public virtual int? SampleRateHertz { get; set; }
Property Value
Type Description
int?

SpeechModelVariant

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 and 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.

Declaration
[JsonProperty("speechModelVariant")]
public virtual string SpeechModelVariant { get; set; }
Property Value
Type Description
string

UseTimeoutBasedEndpointing

Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.

Declaration
[JsonProperty("useTimeoutBasedEndpointing")]
public virtual bool? UseTimeoutBasedEndpointing { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX