How-tos

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

Share this post:

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!

More stories
November 14, 2018

PostgreSQL Tips: Template Databases

In this PostgreSQL Tip, we demystify PostgreSQL template databases and how and when you might use them. Template databases are really useful when you use the same database objects every time you create a new database.

Continue reading

November 9, 2018

Build Messaging Solutions with Apache Kafka or Event Streams for IBM Cloud: Part 3

One key aspect of a robust architecture is that it is built to smoothly handle system failures, outages, and configuration changes without violating the data loss and consistency requirements of the use case. To proactively build such solutions needs an understanding of the possible exceptions and risky scenarios and preparedness to manage them efficiently.

Continue reading

November 9, 2018

How to Set Up a Concourse CI/CD Pipeline

To hit the ground running for any project based on cloud-based applications, it is very important to set up the associated infrastructure for the development of microservices. Quick and high-speed development can be achieved if the team has a way to do Continuous Integration (CI) and Continuous Delivery (CD) of the application.

Continue reading