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
contexts: any[]
The collection of contexts to be activated before this query is executed.
geoLocation
geoLocation: {[key: string]: any}
The geolocation of this conversational query.
payload
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
resetContexts: boolean
Specifies whether to delete all contexts in the current session before the new ones are activated.
sessionEntityTypes
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
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.