QueryInput

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.

  2. A conversational query in the form of text.

  3. An event that specifies which intent to trigger.

JSON representation
 { 
 // Union field input 
can be only one of the following: 
 "audioConfig" 
 : 
 { 
 object (  InputAudioConfig 
 
) 
 } 
 , 
 "text" 
 : 
 { 
 object (  TextInput 
 
) 
 } 
 , 
 "event" 
 : 
 { 
 object (  EventInput 
 
) 
 } 
 // End of list of possible types for union field input 
. 
 } 
Fields
Union field input . Required. The input specification. input can be only one of the following:
audioConfig

object ( InputAudioConfig )

Instructs the speech recognizer how to process the speech audio.

text

object ( TextInput )

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

event

object ( EventInput )

The event to be processed.

Create a Mobile Website
View Site in Mobile | Classic
Share by: