Watson Voice Bot

screenshot of Watson Voice Bot
flask

Create a Watson Assistant chatbot that uses voice over a web browser.

Overview:

This document introduces a code pattern for creating a web-based chatbot with voice input and output. It describes the use of Watson Assistant for conversation dialog, Watson Speech to Text for capturing user voice, and Watson Text to Speech for playback responses. The web application is built using JQuery and Python Flask, allowing users to interact with the chatbot using voice commands and receive audio responses.

Features:

  • Voice Input and Output: Utilizes Watson Speech to Text and Text to Speech for voice-based interactions with the chatbot.
  • Integration with Watson Assistant: Chatbot responses are generated using Watson Assistant based on user inputs.
  • Web Socket Connection: Establishes a connection to transmit voice inputs to Watson Speech to Text.
flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.