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 the query execution.

geoLocation

Copy URL
geoLocation: 

{[key: string]: any}

The geolocation of the conversational query.

payload

Copy URL
payload: 

{[key: string]: any}

Use this field to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.

resetContexts

Copy URL
resetContexts: 

boolean

Whether to delete all contexts in the current session before activation of a new one.

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 the conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the system uses the time zone specified in agent settings.