General Chatbot Architecture, Design & Development Overview

…And What Components Are Required To Constitute A Conversational Interface

Introduction

Image for post
Image for post
Amazon via their Developer Console for Alexa is one of the cloud computing companies which are democratizing access to advanced conversational tools.

Chatbot 101

Image for post
Image for post
Basic Voicebot Architecture

Automatic Speech Recognition (ASR)

AKA Speech-To-Text

Image for post
Image for post
Alexa Developer Console offers the option choose between ASR or short-circuit to text input directly for testing.

Background Noise

Microphone

Natural Language Understanding

Image for post
Image for post
Traditional Chatbot Architecture

Response Generation

Image for post
Image for post
The SSML test Interface on Alexa Developer Console. You can change our language, locale and tweak he SSML syntax and listen to the output.
<speak>
as a cardinal number:
<say-as interpret-as=”cardinal”>12345</say-as>.
as a ordinal number:
<say-as interpret-as=”ordinal”>12345</say-as>.
as digits:
<say-as interpret-as=”digits”>12345</say-as>.
</speak
Fake-News Headline Generator

Conversational Best Practice

Image for post
Image for post
Digression Example Where an User Momentarily Digress
Image for post
Image for post
IBM Watson Assistant Example of Disambiguation Between Dialog Nodes

Conclusion

Written by

NLP/NLU, Chatbots, Voice, Conversational UI/UX, CX Designer, Developer, Ubiquitous User Interfaces. www.cobusgreyling.me

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store