How-tos

Build “Voice Channels” with Moni.ai, your virtual assistant

Moni.ai and IBM—creating new forms of Human-Machine-Interaction (HMI). Our service, which is available on the IBM Bluemix platform, caters to companies who want to accelerate the pace of innovation and get to market fast with new forms of HMI for their customers and also for internal applications such as business analytics. Simply stated, our goal is to provide an eco-system where you can use your voice to accomplish practically any task for nearly any situation.

With Moni.ai, users just say what they want to have happen, and a partner’s Voice Channel is activated. See our IBM Cloud Marketplace solution here: Moni.ai – Voice Channels

Building “Voice Channels” on the Moni.ai interface

A Voice Channel is made up of trigger patterns (phrases), which Moni recognizes to perform a set list of actions or being a two-way dialog with the end-user. Let’s imagine the following use case:

Your company is selling cars, you are looking for new innovative ways to interact with your customers. How can Moni.ai help you? First things first you could create a new Voice Channel listening to the trigger pattern “I want to buy a car”. Then you create a workflow on Node-RED defining what happens whenever someone on Moni.ai says the trigger pattern. For example, you could advise Moni to ask the user “What type of car are you looking for?” and the customer would continue the interaction with Moni, his/her virtual assistant. Node-RED thereby allows you to query your databases or APIs for price information, availability and more. The whole process is mapped out visually on Node-RED. The interaction takes place using the Moni.ai apps or the Moni.ai website.

By owning trigger patterns, companies can create Voice Channels which will be activated every time Moni hears that phrase, or even similar phrases. Building a Voice Channel is easy for even a beginning developer. Using the Moni.ai Node-RED boilerplate, it’s simple to visually wire together APIs and dialogs. You as a developer don’t have to worry about servers or hardware, and you can simply focus on coding and defining the user experience. Ready to try it?

Getting started on Moni.ai

First you subscribe to Moni.ai on the IBM Marketplace. You can start with the free developers edition to create your Voice Channels without publishing them. Starting the subscription process, you will be asked for a Moni.ai user. You can signup Moni.ai for free if you don’t have a user already.

After the service is connected, you will need to deploy the Moni.ai Node-RED environment on IBM Bluemix that allows you to define the interaction process. Note that Moni.ai does not have access to your Node-RED environment – you don’t need to share your data. Technically Moni will just “ask” your Node-RED environment for information and will only have access to the output you send Moni via the Moni.ai nodes. You can use the Deploy-To-Bluemix button to initialize your Node-RED environment on Bluemix:

On your newly deployed Node-RED environment, create your Voice Channel using the Moni.ai nodes. The demonstration below walks through the same steps:

You are now ready to test your Voice Channel!

Share this post:

Share on LinkedIn

Add Comment
No Comments

Leave a Reply

Your email address will not be published.Required fields are marked *

More How-tos Stories

A Live Look: How to Observe Your Node.js Application Logs in Real-Time

In this article, I’ll be demonstrating how you can add a “live” console web tail to your Node.js application hosted on BlueMix in a few easy steps without cluttering up your application code. We’ll be achieving this by overloading the Console object, something you find in almost every javascript program. This is a handy feature for real-time debugging as well as monitoring your running applications. It also serves as a prototype for modifying console statements or adding entirely new console types.

Yes, we kanban!

Migrating from scrum to kanban - what you need to know.

Phonebot: Conference Calls in Slack using Bluemix and Watson

Last month, a colleague was explaining he was not looking forward to an afternoon of long-distance conference calls. Having recently started using Slack for collaboration with their remote team, they lamented "I wish I could do my conference calls using Slack!" This got us thinking.