concept conversation in category alexa

This is an excerpt from Manning's book Voice Applications for Alexa and Google Assistant.
Voice user interface (VUI) design is how users interact with voice-first platforms. Voice is both something where most developers have little experience and something where they have the most experience. We have conversations every day, from nearly the moment we wake up to when we go to bed. We’ve been conversing with others since we were tiny, and we’ve been learning from conversations since we were in the womb. Because of this, we often take for granted what makes a good conversation. Thankfully, there are guidelines that outline what makes a natural, flowing conversation and what leads to misunderstanding and frustration.
Session attributeslive for a session. They aren’t stored but are passed back and forth between Alexa and the fulfillment for as long as the session continues. There can be a lot of reasons for a session to cease. Perhaps the user’s kids come into the room to ask their parent a question, or the user needs to look up some information that Alexa requested. Or perhaps the Alexa device could not hear the user and assumes that the conversation is over.
Listing 10.6 Adding suggestion chips (index.js)
const { ... Suggestions, #1 LinkOutSuggestion #1 } = require("actions-on-google"); ... app.intent("get_events", (conv) => { ... conv.close(new Suggestions("Get to the meeting room")); #2 conv.close(new LinkOutSuggestion({ #3 name: "View All", #3 url: "https://www.example.com/upcoming-events" #3 })); #3 ... }); #1 Imports suggestion helpers #2 Suggestion that pivots the conversation #3 Suggestion that links out
Figure 11.2 Data has three different lifespans depending on its purpose: request, conversation, and long-term.
![]()