Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Latest commit

 

History

History
16 lines (10 loc) · 482 Bytes

readme.md

File metadata and controls

16 lines (10 loc) · 482 Bytes

Botkit / rasa NLU plugin

This plugin provides Botkit developers a way to use the rasa NLU open source, self hosted natural language API.

var rasa = require('botkit-rasa')({rasa_uri: 'http://localhost:5000'});
controller.middleware.receive.use(rasa.receive);

controller.hears(['my_intent'],'message_received', rasa.hears, function(bot, message) {

    console.log('Intent:', message.intent);
    console.log('Entities:', message.entities);    

});