Skip to content

zzhang13/assistant-dialog-flow-analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watson Assistant Dialog Flow Analysis

Note: help us stay in touch and improve this notebook by clicking on the ⭐ star icon (top right).

This repository hosts the the Watson Assistant Dialog Flow Analysis Notebook and the underlying conversation analytics toolkit library.

Table of Contents

Introduction
Getting Started
Guides
Frequently Asked Questions
License
Contributing

Introduction

The Watson Assistant Dialog Flow Analysis Notebook can help you assess and analyze user journeys and issues related to the dialog flow of ineffective (low quality) conversations based on production logs. The notebook can help you with questions such as:

  • What are the common conversation steps and flows within the assistant
  • Which flows have low task completion rates and high abandonment (ineffective conversations)
  • Where along the dialog steps users lose engagement with your assistant
  • What are common terms and steps that may lead to abandonment

This notebook extends the Measure and Analyze notebooks by providing additional capabilities to assess and analyze effectiveness - focused more on issues related to the dialog flow. For more details, check out IBM Watson Assistant Continuous Improvement Best Practices.

Getting Started

The notebook requires a Jupyter Notebook environment and Python 3.6+. You can either install Jupyter Notebook to run locally or you can use Watson Studio on the cloud.

Using Jupyter Notebook

  1. Install Python 3.6+
  2. Install Jupyter notebook. Checkout the Jupyter/IPython Notebook Quick Start Guide for more details
  3. Download the notebooks/Dialog Flow Analysis Notebook.ipynb file.
  4. Start jupyter server jupyter notebook
  5. Run the Dialog Flow Analysis Notebook.ipynb

Using Watson Studio

  1. Create a new custom runtime environment. Select Python 3.6+ as the base. In the customization section pane, update the list of dependencies as defined in requirements.txt.
dependencies:
  - pip:
    - pandas~=0.24.0
    - textblob>=0.15.3
    - scikit-learn>=0.21.3
    - scipy>=1.3.0
    - numpy>=1.15.4
    - requests>=2.18.4
    - nltk>=3.4.5
    - ibm-watson>=4.3.0
    - tqdm>=4.31.1
    - plotly>=4.5.0
  1. Select Add to Project-->Notebook. Choose From URL and paste this url. Alternately you can select From file and upload the notebooks/Dialog Flow Analysis Notebook.ipynb file.
  2. Run the notebook using the newly created runtime environment (note: the first time use of the runtime environment, can take a few minutes to prepare)

Guides

Coming soon...

Frequently Asked Questions

See FAQ.md for frequently asked questions

License

This library is licensed under the Apache 2.0 license.

Contributing

See CONTRIBUTING.md and DEVELOPER.MD for more details on how to contribute

Contributor List

Avi Yaeli
Avi Yaeli
Sergey Zeltyn
Sergey Zeltyn
Zhe Zhang
Zhe Zhang
Eric Wayne
Eric Wayne
David Boaz
David Boaz

About

Dialog Flow Analysis Notebook for Watson Assistant

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 50.0%
  • HTML 48.3%
  • Python 1.1%
  • JavaScript 0.5%
  • CSS 0.1%
  • Dockerfile 0.0%