Node.js SDK for Api.ai
This plugin allows integrating agents from the Api.ai natural language processing service with your Node.js application.
Installation
- Install Node.js
- Install Api.ai SDK with
npm
:
npm install apiai
Usage
- Create
main.js
file with the following code:
var apiai = ; var app = ; var request = app; request; request; request;
- Run following command.
node main.js
- Your can find more examples in
samples
directory.