SuggestionInput

Represents the selection of a suggestion.

JSON representation
 { 
 "answerRecord" 
 : 
 string 
 , 
 "textOverride" 
 : 
 { 
 object (  TextInput 
 
) 
 } 
 , 
 "parameters" 
 : 
 { 
 object 
 } 
 , 
 "intentInput" 
 : 
 { 
 object (  IntentInput 
 
) 
 } 
 } 
Fields
answerRecord

string

Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> where is an alphanumeric string.

textOverride

object ( TextInput )

Optional. If the customer edited the suggestion before using it, include the revised text here.

parameters

object ( Struct format)

In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput . The form is uniquely determined by the answerRecord field, which identifies a v3 QueryResult containing the current page . The form parameters are specified via the parameters field.

Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:

  • MapKey type: string
  • MapKey value: parameter name
  • MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map.
  • MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
intentInput

object ( IntentInput )

The intent to be triggered on V3 agent.

Design a Mobile Site
View Site in Mobile | Classic
Share by: