Class SuggestionInput (2.25.0)

SuggestionInput(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the selection of a suggestion.

Attributes

NameDescription
answer_record str
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/ where is an alphanumeric string.
text_override google.cloud.dialogflow_v2beta1.types.TextInput
Optional. If the customer edited the suggestion before using it, include the revised text here.
parameters google.protobuf.struct_pb2.Struct
In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record 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.
intent_input google.cloud.dialogflow_v2beta1.types.IntentInput
The intent to be triggered on V3 agent.