Skip to content

nheidloff/conversation-optimizer-for-ibm-watson

Repository files navigation

Conversation Optimizer for IBM Watson

The Conversation Optimizer for IBM Watson is a tool for developers to optimize the user experiences of their bots implemented via Watson Conversation. The tool reads all conversations of a workspace and provides different filters to find conversation flows that have potential issues and might require improvements.

Filters:

  • Conversations with dialog errors
  • Conversations with unfulfilled intents
  • Conversations with low confidence levels for intents
  • Conversations with out of scope user input
  • To be done: Conversations with negative user sentiment

Try out the online version yourself.

Check out the screenshots for more details. This is the view with all conversations:

Conversation Optimizer for IBM Watson

Authors:

Setup on Bluemix

You can deploy the Conversation Optimizer either via 'Deploy to Bluemix' button or by pushing it from your local environment.

Deploy to Bluemix Button

The easiest way to deploy the Conversation Optimizer to Bluemix is to press this button.

Deploy to Bluemix

You can bind a Watson Conversation service to the Cloud Foundry application. In this case the Watson user name and password are read from the VCAP environment variable and don't have to be entered manually. You can bind the service to the application either in the Bluemix user interface or via the following commands.

cf login
cf services
cf bind-service conversation-optimizer-for-ibm-watson my-conversation-service-name

Deploy from local Environment

Edit manifest.yml to point to your own application

git clone https://github.com/nheidloff/conversation-optimizer-for-ibm-watson.git
cd conversation-optimizer-for-ibm-watson
npm install
typings install
npm run build:prod
cf login
cd node
cf push

Local Setup

You can run the Conversation Optimizer either via Webpack or Node.

Rather than defining the Watson Conversation credentials and workspace ID every time when the application is started, you can define this information in src/assets/config.json when running locally.

Run locally via Webpack Dev Server

git clone https://github.com/nheidloff/conversation-optimizer-for-ibm-watson.git
cd conversation-optimizer-for-ibm-watson
npm install
typings install
npm start

Go to http://localhost:3000 in your browser

Run locally via Node Express

git clone https://github.com/nheidloff/conversation-optimizer-for-ibm-watson.git
cd conversation-optimizer-for-ibm-watson
npm install
typings install
npm run build:prod
cd node
npm install
node server-local.js

Go to http://localhost:6023 in your browser

Contributions

Create issues or pull requests with your desired changes.