Skip to content

This repository contains example program to run wit.ai through node-wit SDK and communicate it through Socket.io chat window.

License

Notifications You must be signed in to change notification settings

kknp235/wit-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wit-chatbot

wit-chatbot used wit.ai as the brain to classify intents and entities. We have added greetings and pizza ordering as a capabilities to the chat bot. You can launch the app and communicate using browser chat window.

Train your wit.ai server with greetings and pizza ordering examples

Installation

wit-chatbot requires Node.js v4+ to run.

Install the dependencies and start the server.

$ cd wit-chatbot/chat_server
$ [sudo] npm install 
$ cd ..
$ cd witSDK
$ [sudo] npm install 

Running Application... Remember to include Open weather APP ID for weather method

$ [sudo] nano wit-chatbot/witSDK/methods/weather.js

Start Services

$ ./services.sh

Start wit SDK Application Add wit.ai server access key in witserver.sh

$ [sudo] nano wit-chatbot/witserver.sh

Run Application $ ./witserver.sh

Now go to browser and call IP:PORT and you'll see login screen. Enter your name and now all the message you enter into chat text box will be processed by wit.ai and replies will be sent to the chat box.


About

This repository contains example program to run wit.ai through node-wit SDK and communicate it through Socket.io chat window.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published