Giter Site home page Giter Site logo

mdheller / conversation-inspector-for-ibm-watson Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nheidloff/conversation-inspector-for-ibm-watson

0.0 0.0 0.0 3.35 MB

Conversation Inspector for IBM Watson

Home Page: https://conversation-inspector-for-ibm-watson.mybluemix.net

License: Apache License 2.0

Dockerfile 0.11% JavaScript 29.01% HTML 18.20% CSS 3.21% TypeScript 49.47%

conversation-inspector-for-ibm-watson's Introduction

Conversation Inspector for IBM Watson

The Conversation Inspector for IBM Watson is a tool for developers to build conversational user experiences with Watson Conversation. The purpose of the tool is to display and manipulate the JSON that is sent between applications and Watson Conversation services. This is useful when, for example, you use context variables extensively to manage state information.

Main functionality:

  • Displays JSON data of incoming messages (sample) and provides filters, for example only context variables (sample)
  • Displays JSON data of outgoing messages (sample)
  • Allows sending outgoing messages via text or JSON (sample)
  • Displays history of conversation steps (sample)
  • Allows developers to navigate back to previous steps (sample)
  • Supports developers to download and copy all data to the clipboard (sample)
  • Displays Watson Conversation workspace status (sample)
  • Provides auto-complete textbox for previous text messages (sample)

Try out the online version yourself.

Screenshot of a sample conversation:

alt text

Authors:

Setup on Bluemix

You can deploy the Conversation Inspector 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 Inspector 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-inspector-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-inspector-for-ibm-watson.git
cd conversation-inspector-for-ibm-watson
npm install
typings install
npm run build:prod
cf login
cd node
cf push

Local Setup

You can run the Conversation Inspector 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-inspector-for-ibm-watson.git
cd conversation-inspector-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-inspector-for-ibm-watson.git
cd conversation-inspector-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

Next Steps and Contributions

We have a lot of ideas how to further improve the tool. Check out the issues for details.

Create issues or pull requests with your desired changes.

conversation-inspector-for-ibm-watson's People

Contributors

nheidloff 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.