All Projects → IBM → Watson Voice Bot

IBM / Watson Voice Bot

Licence: apache-2.0
Create a Watson Assistant chatbot that uses voice over a web browser.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Watson Voice Bot

Posttrends
Simple analytics platform for Instagram.
Stars: ✭ 83 (-9.78%)
Mutual labels:  flask
Ccks2019 Task5
CCKS2019评测任务五-公众公司公告信息抽取,第3名
Stars: ✭ 87 (-5.43%)
Mutual labels:  flask
Incepiton Mysql
🍭A web platform designed for mysql inception
Stars: ✭ 90 (-2.17%)
Mutual labels:  flask
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (-8.7%)
Mutual labels:  flask
Blogreworkpro
Rework the BlogRework, a SEO friendly SPA, build with flask, react, redux, mongodb...
Stars: ✭ 86 (-6.52%)
Mutual labels:  flask
Job Web Demo
Python Web 实战项目,Flask + Jinja2 + Bootstrap 开发的招聘网站
Stars: ✭ 87 (-5.43%)
Mutual labels:  flask
Black Playground
ambv/black online demo
Stars: ✭ 83 (-9.78%)
Mutual labels:  flask
Flaskdash
Flask starter app featuring CoreUI and the FlaskUser module.
Stars: ✭ 90 (-2.17%)
Mutual labels:  flask
Flask Todolist
exemplary flask application - small to-do list WebApp example
Stars: ✭ 85 (-7.61%)
Mutual labels:  flask
Carbon Api
Unofficial API for generating beautiful images of your source code using Carbon.
Stars: ✭ 89 (-3.26%)
Mutual labels:  flask
Bhagavadgita
A non-profit initiative to help spread the transcendental wisdom from the Bhagavad Gita to people around the world.
Stars: ✭ 84 (-8.7%)
Mutual labels:  flask
Deep Learning Training Gui
Train and predict your model on pre-trained deep learning models through the GUI (web app). No more many parameters, no more data preprocessing.
Stars: ✭ 85 (-7.61%)
Mutual labels:  flask
Gameon Java Microservices On Kubernetes
This code demonstrates deployment of a Microservices based application Game On! on to Kubernetes cluster. Game On! is a throwback text-based adventure built to help you explore microservice architectures and related concepts.
Stars: ✭ 88 (-4.35%)
Mutual labels:  ibmcode
Flask Wtform Tutorial
📝😎Tutorial to implement forms in your Flask app.
Stars: ✭ 84 (-8.7%)
Mutual labels:  flask
Starcraft2 Replay Analysis
A jupyter notebook that provides analysis for StarCraft 2 replays
Stars: ✭ 90 (-2.17%)
Mutual labels:  ibmcode
Appseed
React, Vue.js App Generator
Stars: ✭ 83 (-9.78%)
Mutual labels:  flask
Pybooks
python books
Stars: ✭ 87 (-5.43%)
Mutual labels:  flask
Flask Tutorial
这个项目已经很久很久了, 不推荐看, 不过倒是可以进群叨逼叨一下. 🚗 交流群:630398887
Stars: ✭ 91 (-1.09%)
Mutual labels:  flask
Solarpi
A RaspberryPi based, Flask powered photovoltaic monitor
Stars: ✭ 90 (-2.17%)
Mutual labels:  flask
Flask Paper Kit
Flask Boilerplate - Paper Kit Design | AppSeed
Stars: ✭ 89 (-3.26%)
Mutual labels:  flask

Build Status

Create a web based chatbot with voice input and output

In this code pattern we will create a web based chat bot, but the twist here is that we'll be using voice input and output. For the conversation dialog we'll of course be using Watson Assistant, but we'll also be using Watson Speech To Text to capture the user's voice, and lastly we'll use Watson Text To Speech to playback the chatbots response to the user. The web application itself is built on top of JQuery and Python Flask.

When the reader has completed this code pattern they will understand how to:

  • Make a Watson Speech To Text call using a Web Socket Connection
  • Make a Watson Text to Speech REST API call
  • Send and receive messages to Watson Assistant using REST APIs
  • Integrate Watson Speech To Text, Watson Text To Speech and Watson Assistant in a web app

Flow

  1. User selects the microphone option on the browser and speaks.
  2. The voice is passed on to Watson Speech To Text using a Web Socket connection.
  3. The text from Watson Speech to Text is extracted and sent as input to Watson Assistant.
  4. The response from Watson Assistant is passed onto Watson Text to Speech.
  5. The audio output is sent to the web application and played back to the user, while the UI also displays the same text.

Included components

  • Watson Speech-to-Text: A service that converts human voice into written text.
  • Watson Text-to-Speech: Converts written text into natural sounding audio in a variety of languages and voices.
  • Watson Assistant: Create a chatbot with a program that conducts a conversation via auditory or textual methods.

Featured technologies

  • Flask: Python is a programming language that lets you work more quickly and integrate your systems more effectively.
  • jQuery: It is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.

Deployment options

Click on one of the options below for instructions on deploying the app.

openshift public local

Sample output

Follow the script below for a sample path in an insurance domain, or configure your own dialog under Watson Assistant.

Voice Bot: Hello. How can I help you?
User Reply: I am trying to buy an insurance

Voice Bot: You have come to the right place We offer you a smart, affordable and convenient way to safeguard the future for you and your family. Can I ask you a couple of questions to come up with the best plan for you?
User Reply: ok sure

Voice Bot: Please tell me your Name followed by Date Of Birth and Annual Income
User Reply: This is Mary

Voice Bot: Please enter your Date of Birth
User Reply: 2nd June 1945

Voice Bot: Your annual income?
User Reply: 1200000 dollars

Voice Bot: Do you smoke?
User Reply: Nope I dont

Voice Bot: Please tell me your gender
User Reply: Female

Voice Bot: Enter a protection type
Select one among Basic Life Cover, Fixed Income Protection or Increasing Income Protection.
User Reply: Life Cover

Voice Bot: What premium payment frequency would you prefer? Monthly, Quarterly, Half Yearly or Yearly?
User Reply: Monthly

Voice Bot: What term would you want to go for? Enter a range between 10 years to 35 years.
User Reply: 8 years

Voice Bot: Please enter a term ranging between 10 years to 35 years.
User Reply: 12

Voice Bot: Your yearly premium for 12 years under the Basic Life Cover plan is 67767 dollars. Do you want to try any other options or go ahead with buying this?
User Reply: No What is Basic Life Cover?

Voice Bot: On death during the Policy term, Sum Assured as a lump sum is paid to the nominee and the policy terminates.
User Reply: ok Thanks

Voice Bot: Have a great day

sample output

Links

Learn more

  • Artificial Intelligence Code Patterns: Enjoyed this Code Pattern? Check out our other AI Code Patterns.
  • AI and Data Code Pattern Playlist: Bookmark our playlist with all of our Code Pattern videos
  • With Watson: Want to take your Watson app to the next level? Looking to utilize Watson Brand assets? Join the With Watson program to leverage exclusive brand, marketing, and tech resources to amplify and accelerate your Watson embedded commercial solution.

License

This code pattern is licensed under the Apache Software License, Version 2. Separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 (DCO) and the Apache Software License, Version 2.

Apache Software License (ASL) FAQ

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].