Skip to content

as409/Chat-bot-using-API.AI-and-twilio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bot using -api.ai and twilio

====================== Create an agent on API.AI and then create some intents and entities. I have created an agent for assiting in booking hotels.

api ai agent

Now the next part is to integrate it with twilio messaging platform On configuring twilio you will get

Secret Instance SID

Account SID

API Key SID

API Secret

Fill the required fields in API.AI and host your chathot on heroku.

Once the bot has statred run the demo given below

Running the demo

Set credentials
  1. Copy credentials.example.json to credentials.json
  2. Plug your credentials into credentials.json
Install dependencies
$ npm install
Run server
$ npm start
Connect

Connect via http://localhost:8080

github twilio

About

Programmable Chat API Demo Application for JavaScript using API.AI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.4%
  • CSS 22.6%
  • HTML 10.0%