Events in the Alexa Conversations Description Language
Note: Alexa Conversations Description Language (ACDL) is offered as a beta and may change as we receive feedback and iterate on the feature. ACDL currently supports the following locales:
• (GA)
• (Beta)
• (GA)
en-US
• (Beta)
en-AU
, en-CA
, en-IN
, en-GB
, de-DE
, ja-JP
, es-ES
, es-US
In the Alexa Conversations Description Language (ACDL), you describe conversational experiences by providing samples of events and actions. An event represents a trigger external to the skill, such as something the user says.
Declare an event
You declare events by using an utterances<T>()
action. The utterances you provide to the utterances<T>()
action represent variations of the utterances that trigger the event.
The following example shows an event declaration for a weather skill.
getWeatherEvent = utterances<GetWeatherForCityAndDate>([
"What's the weather {date} in {cityName}",
"what is the weather {date}",
"How is the weather {date}",
"How is the weather in {cityName} {date}",
"how is the weather",
"Can you please give me the weather report for {date}",
"What's the weather"
])
For details about using events, see Use Events in ACDL.