DialogflowResult

Properties(10)

Properties

action

action: string

The action name from the matched intent.

allRequiredParamsPresent

allRequiredParamsPresent: Boolean

This field is set to: - false if the matched intent has required parameters and not all of the required parameter values have been collected. - true if all required parameter values have been collected, or if the matched intent doesn't contain any required parameters.

diagnosticInfo

diagnosticInfo: Object

The free-form diagnostic info. For example, this field could contain webhook call latency.

fulfillmentMessages

fulfillmentMessages: Array

The collection of rich messages to present to the user.

fulfillmentText

fulfillmentText: String

This field is set to: - false if the matched intent has required parameters and not all of the required parameter values have been collected. - true if all required parameter values have been collected, or if the matched intent doesn't contain any required parameters.

intent

intent: Object

The intent that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: name, display_name and webhook_state.

intentDetectionConfidence

languageCode

The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.

parameters

parameters: Object

The collection of extracted parameters.

queryText

queryText: string

The original conversational query text: - If natural language text was provided as input, query_text contains a copy of the input. - If natural language speech audio was provided as input, query_text contains the speech recognition result. If speech recognizer produced multiple alternatives, a particular one is picked. - If an event was provided as input, query_text is not set.