6 VUI and conversation best practices

This chapter covers

  • Building on shared context
  • Using user favorites and decaying context
  • Intercepting requests and responses
  • Unit testing

You already saw in chapter 3 that people have certain expectations of a conversation and are surprised when those aren’t upheld. Developers new to voice applications tend to create stiff conversations that ignore these user expectations. Newcomers, perhaps, are so deep in the terse, mechanical language of code that they temporarily forget what they’ve been doing since they were young. Thankfully, only a little bit of effort is needed to elevate the conversation, and only a little bit more to take it within sight of natural dialog.

6.1 Conversations and context

Get Voice Applications for Alexa and Google Assistant 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.