CHAPTER 15. Adding Voice Services

The Bot Framework runs on many platforms and all of the channels you’ve configured so far involve text interaction. Users type into an interface for the channel, often a messaging app, and the chatbot responds in text. However, text isn’t the only medium available with chatbots – another is voice.

Using voice, users can talk to a chatbot directly without typing. The chatbot can respond with voice and/or text. Cortana is one such interface where users can summon Cortana and ask her to interact with a chatbot. This chapter starts off by showing how to add speech capabilities with different types of responses to a user. You’ll see how to implement input hints to indicate the chatbot’s listening state, and then you’ll ...

Get Programming the Microsoft Bot Framework: A Multiplatform Approach to Building Chatbots 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.