google_api_dialogflow v0.5.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig View Source

Instructs the speech recognizer how to process the audio content.

Attributes

  • audioEncoding (String.t): Required. Audio encoding of the audio content to process. Defaults to: null.

    • Enum - one of [AUDIO_ENCODING_UNSPECIFIED, AUDIO_ENCODING_LINEAR_16, AUDIO_ENCODING_FLAC, AUDIO_ENCODING_MULAW, AUDIO_ENCODING_AMR, AUDIO_ENCODING_AMR_WB, AUDIO_ENCODING_OGG_OPUS, AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE]
  • languageCode (String.t): Required. 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. Defaults to: null.
  • phraseHints ([String.t]): Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to Cloud Speech API documentation for more details. Defaults to: null.
  • sampleRateHertz (integer()): Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to Cloud Speech API documentation for more details. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig{
  audioEncoding: any(),
  languageCode: any(),
  phraseHints: [any()],
  sampleRateHertz: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.