Class GoogleCloudDialogflowCxV3beta1InputAudioConfig
Instructs the speech recognizer on how to process the audio content.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.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 |
BargeInConfig
Configuration of barge-in behavior during the streaming of input audio.
Declaration
[JsonProperty("bargeInConfig")]
public virtual GoogleCloudDialogflowCxV3beta1BargeInConfig BargeInConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1BargeInConfig |
ETag
The ETag of the item.
Declaration
public virtual string ETag { 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? |
Model
Optional. Which Speech model to select for the given request. For more information, see Speech models.
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 |
OptOutConformerModelMigration
If true
, the request will opt out for STT conformer model migration. This field will be deprecated once
force migration takes place in June 2024. Please refer to Dialogflow CX Speech model
migration.
Declaration
[JsonProperty("optOutConformerModelMigration")]
public virtual bool? OptOutConformerModelMigration { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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? |