Show / Hide Table of Contents

Class GoogleCloudDialogflowCxV3beta1InputAudioConfig

Instructs the speech recognizer on how to process the audio content.

Inheritance
object
GoogleCloudDialogflowCxV3beta1InputAudioConfig
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.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1InputAudioConfig : IDirectResponseSchema

Properties

AudioEncoding

Required. Audio encoding of the audio content to process.

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

EnableWordInfo

Optional. 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?

ETag

The ETag of the item.

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

Model

Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. 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 (best for very short utterances and commands)

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

ModelVariant

Optional. Which variant of the Speech model to use.

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

PhraseHints

Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See the Cloud Speech documentation for more details.

Declaration
[JsonProperty("phraseHints")]
public virtual IList<string> PhraseHints { 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?

SingleUtterance

Optional. If false (default), recognition does not cease until the client closes the stream. If true, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.

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

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX