Giter Site home page Giter Site logo

botberita's Introduction

๐Ÿค– Chatbot using IBM Watson

Node.js application using Speech to Text, Text to Speech and Assistant

Prerequisites

  1. Sign up for an IBM Cloud account.
  2. Download the IBM Cloud CLI.
  3. Create an instance of the Speech to Text, Text to Speech and Assistant service and get your credentials:
    • Copy the apikey value.
    • Copy the url value.

Configuring the application

  1. Open the config/config.env file and add the service credentials that you obtained in the previous step.
    TEXT_TO_SPEECH_IAM_APIKEY=<your text to speech apikey>
    TEXT_TO_SPEECH_URL=<your text to speech url>
    SPEECH_TO_TEXT_IAM_APIKEY=<your speech to text apikey>
    SPEECH_TO_TEXT_URL=<your speech to text url>
    ASSISTANT_APIKEY=<your assistant apikey>
    ASSISTANT_IAM_APIKEY=<your assistant iam apikey>
    ASSISTANT_URL=<your assistan url>
    ASSISTANT_AUTH_TYPE=iam
    workspaceId=<your workspace id>
    
    

Running locally

  1. Install the dependencies

    npm install
    
  2. Run the application

    npm start
    
  3. View the application in a browser at localhost:8080

  4. It will works like a charm

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.