Get the code
View the demo
by Sharath Kumar RK, Vishal Chahal, Manjula G Hosurmath | Updated October 27, 2017 - Published October 26, 2017
AnalyticsArtificial intelligenceData sciencePython
There is a technological revolution taking place in the service industry with the introduction of robots. The robots are powered by artificial intelligence and are able to perform the roles, such as a waiter, customer relationship executive, or cognitive assistant. The capabilities of the robot can be enhanced exponentially by integrating with cloud capabilities.
This pattern demonstrates a scenario where the robot can answer queries on financial data by integrating with the IBM Watson Assistant service and IBM Watson Studio. We’ll take you through all the steps to build an interactive interface with a NAO robot, Watson Assistant API, and DSX.
This pattern demonstrates how to enhance the capabilities of NAO robot by integrating with IBM Cloud offerings to create a cognitive agent, which can do real time analysis on a financial data and explain the analysis to the user. This developer pattern is intended for developers who want to learn a new method for interacting with a cognitive agent and a NAO robot.
The robot, Watson Assistant, and Watson Studio interact with the robot to query data-driven calculations, which are inferences and intent derived through the conversation API and passed to DSX to perform real time calculation on data. The robotic AI agent provides interactivity, while the Watson Assistant API and DSX provide intent-driven quick access and calculations on data.
In this pattern, we show you how to integrate a NAO robot, Watson Assistant API, and Jupyter Notebook (Watson Studio) by using a Node-RED instance to develop a solution that can help trigger IBM DSX workflows from the robot.
In this pattern, you will learn how to:
The user asks specific questions to the robot.
The robot converts the speech into text and sends the text to the Node-RED flow for further processing on the cloud. The results from the processing on the cloud is returned to the NAO robot through the Node-RED flow.
Node-RED flow sends the text from the NAO robot to the Watson Assistant API.
The Watson Assistant API takes the text input. The text is analyzed to determine the intent based on the training provided.
The context and state of the conversation is saved to the Cloudant DB to track the conversation flow of the user.
The data set for analysis is stored in Object Storage.
The data file is taken as input in CSV format.
The Jupyter notebook receives the Watson Assistant Service API output from Node-RED by using web sockets. The notebook processes the data based on the question and generates insights. The insights are sent back to the Node-RED flow by using the web sockets.
The Jupyter notebook is powered by Spark.
Find the detailed steps for this pattern in the README.
March 26, 2019
April 8, 2019
July 15, 2019
Adversarial Robustness ToolboxAI Fairness 360+
Back to top