Code Monkey home page Code Monkey logo

andrewfayres / watson-ipa-web-nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from biosopher/watson-ipa-web-nodejs

0.0 2.0 0.0 4.94 MB

Create a web-based intelligent personal assistant (IPA) in NodeJS using two Watson services: Natural Language Classifier (NLC) and Dialog. https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/nl-classifier/ www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/dialog.html

License: Apache License 2.0

JavaScript 72.68% CSS 18.49% HTML 8.83%

watson-ipa-web-nodejs's Introduction

Watson Intelligent Personal Assistant (Web Demo)

Check out the working demo.

An intelligent personal assistant is a software agent that can perform tasks or services for an individual. In this demo, we'll combine two Watson services to illustrate the basics of intelligent task performance: A. Capture user input. B. Classify this input into one of several supported tasks C. Ask users for any additional information required to complete the task D. Execute the task for the user (an exercise left for you to complete)

To act on our user's intent, we first classify it into one our predefined classifications. To accomplish this, we'll train the Watson Natural Language Classifier service using various text examples of users making the requests. The NLC uses deep machine learning techniques to return the top predicted classes.

Next, we need any related information required to complete the user's request. To do this, we'll rely on the Watson Dialog service which supports building conversations between a user and an application. The Dialog service will track and store information obtained during the conversation until we have all the info required to complete the task.

These are the user intents we'll attempt to classify:

  • Schedule a meeting
  • Send an email
  • Ask to perform a numeric calculations
  • Request a joke

Getting Started

Follow these sections to setup your services and host your app either in Bluemix or locally.

How Does the Demo Work

Curious to know how the user text is classified to a specific intent and then mapped to a dialog flow? Here's a brief overview of how the Watson IPA Demo works?.

Supporting Sections

More Details

For more details about developing applications that use Watson Developer Cloud services in Bluemix, see Getting started with Watson Developer Cloud and Bluemix.

License

This sample code is licensed under Apache 2.0. Full license text is available in LICENSE. This sample uses jquery which is MIT license.

Disclaimer

The techniques and code shared are my own and don't necessarily represent IBM's position, strategies or opinions. Anyone is free to use, copy, distribute, modify or sell the source code and other materials shown in this video and it is provided "as is" without warranties. I am not responsible for any harm or damage caused to your computer, software or anything else caused by this material.

watson-ipa-web-nodejs's People

Contributors

biosopher avatar

Watchers

James Cloos avatar Andrew Ayres avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.