Defining Response Templates
When defining our sample dialog, we referenced a handful of APL-A documents that serve as a response to the user. Three of them ask the user for trip information, one asks the user to confirm the dialog, and one other ends the conversation with a final response. While we referenced them in our sample dialogs, we haven’t yet defined them. Now it’s time to create the APL-A documents that our conversation will use to communicate with the user.
Response templates can be either APL or APL-A documents. For simplicity, our skill will only use APL-A documents, but feel free to experiment and alter the skill to send graphical content with APL documents.
Regardless of whether you use APL-A or APL responses, you’ll need to ...
Get Build Talking Apps for Alexa now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.