Rate this page:

DialogflowQueryParameters

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

require(Modules.AI);

Props

contexts

Copy URL
contexts: 

any[]

Optional. The collection of contexts to be activated before the query execution.

geoLocation

Copy URL
geoLocation: 

{[key: string]: any}

|

undefined

Optional. The geolocation of the conversational query.

payload

Copy URL
payload: 

{[key: string]: any}

|

undefined

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

resetContexts

Copy URL
resetContexts: 

false

|

undefined

|

true

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

sessionEntityTypes

Copy URL
sessionEntityTypes: 

any[]

Optional. 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

|

undefined

Optional. 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.