Class: Google::Cloud::Dialogflow::V2::QueryInput
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::QueryInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/session.rb
Overview
Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text.
An event that specifies which intent to trigger.
Instance Attribute Summary collapse
-
#audio_config ⇒ ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Instructs the speech recognizer how to process the speech audio.
-
#event ⇒ ::Google::Cloud::Dialogflow::V2::EventInput
The event to be processed.
-
#text ⇒ ::Google::Cloud::Dialogflow::V2::TextInput
The natural language text to be processed.
Instance Attribute Details
#audio_config ⇒ ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Returns Instructs the speech recognizer how to process the speech audio.
198 199 200 201 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198 class QueryInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#event ⇒ ::Google::Cloud::Dialogflow::V2::EventInput
Returns The event to be processed.
198 199 200 201 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198 class QueryInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::Google::Cloud::Dialogflow::V2::TextInput
Returns The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.
198 199 200 201 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198 class QueryInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |