Class: Google::Cloud::Dialogflow::CX::V3::AudioInput
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::AudioInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/session.rb
Overview
Represents the natural speech audio to be processed.
Instance Attribute Summary collapse
-
#audio ⇒ ::String
The natural language speech audio to be processed.
-
#config ⇒ ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig
Required.
Instance Attribute Details
#audio ⇒ ::String
Returns The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256 bytes.
For non-streaming audio detect intent, both config
and audio
must be
provided.
For streaming audio detect intent, config
must be provided in
the first request and audio
must be provided in all following requests.
1036 1037 1038 1039 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1036 class AudioInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#config ⇒ ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig
Returns Required. Instructs the speech recognizer how to process the speech audio.
1036 1037 1038 1039 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1036 class AudioInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |