Amazon
AXS-C01 · Question #51
An Alexa Skill Builder needs to have knowledge of the previous prompt that was presented to the user in order to give context to the user's response. How can the Builder accomplish this?
The correct answer is C. Call the Intent Request History API to identify which prompt was used. See the full explanation below for the reasoning.
Question
An Alexa Skill Builder needs to have knowledge of the previous prompt that was presented to the user in order to give context to the user's response. How can the Builder accomplish this?
Options
- AFind the corresponding prompt using the list events feature
- BStore a reference to the prompt used as a session attribute
- CCall the Intent Request History API to identify which prompt was used.
- DParse the context object from the skill request.
How the community answered
(63 responses)- A5% (3)
- B14% (9)
- C73% (46)
- D8% (5)
Community Discussion
No community discussion yet for this question.