Rate this page:

DialogflowQueryParameters

Represents the parameters of the conversational query. All the parameters are optional. Add the following line to your scenario code to use the interface:

require(Modules.AI);

Props

contexts

Copy URL
contexts: 

any[]

The collection of contexts to be activated before this query is executed.

geoLocation

Copy URL
geoLocation: 

{[key: string]: any}

The geo location of this conversational query.

payload

Copy URL
payload: 

{[key: string]: any}

This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.

resetContexts

Copy URL
resetContexts: 

Boolean

Specifies whether to delete all contexts in the current session before the new ones are activated.

sessionEntityTypes

Copy URL
sessionEntityTypes: 

any[]

The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.

timeZone

Copy URL
timeZone: 

String

The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.