Skip to content

vrcrush/chatbot_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Web Application with IBM Watson Conversation

Purpose

This is a Python Flask web application with a simple chat-friendly User Interface built as a demo for IBM Day @ Dtec in Dubai, United Arab Emirates.

How to run on local machine

  1. Ensure Python is installed on your local environment (Both Python 2 and Python 3 are supported)
  2. Install the requirements using the command pip install -r requirements.txt
  3. Edit the file app.py and add your Watson Conversation username, password and workspace_ID
  4. Run the application as: python app.py
  5. Point your web browser to the address localhost:<port>
  6. Have a conversation with Watson!

How to deploy on IBM Cloud

  1. Ensure that the IBM Cloud CLI tool is installed
  2. Clone this repository to a local directory
  3. Edit the file app.py and add your Watson Conversation username, password and workspace_ID
  4. Open a terminal and run the commands:
    • bx login
    • bx target -o ORG -s SPACE
    • bx app push

Presentation

The presentation slides are available for download here!

Help

Watson Conversation Python API Reference

About

A Python Flask template for IBM Watson Conversation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published