Skip to content

🤖 Simple AI Chatbot made with Socket.io, Express and API.ai

Notifications You must be signed in to change notification settings

DeanSparrow/AI-Chatbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS ExpressJS ES6 Socket.io npm HTML5,CSS3 and JS

Description

Simple Voice AI Bot with Web Speech API

Installation:

You need to have installed NodeJS with npm


Configuration env file

You need to create an .env file in the project root with the following environment variables configured:

  • Port:

    PORT=3000
    
  • Api token:

    APIAI_TOKEN=XXXXXX
    
  • Api AI Session:

    APIAI_SESSION_ID='random_string'
    

    If you have problems with HTTPS, SSL or TLS you can use:

  • NODE_TLS_REJECT:

    NODE_TLS_REJECT_UNAUTHORIZED=0
    

To install all dependecies:

npm install

To run the server:

$ npm start

To obtain the API.ai apikey go here


Source: @girliemac

About

🤖 Simple AI Chatbot made with Socket.io, Express and API.ai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.6%
  • CSS 31.9%
  • HTML 20.5%