Rasa Core HTTP Client for Node.js 🐦
⚠️ Still WIP: API is unstable and might change. Consider this a technical preview.
Simple Node.js wrapper around the Rasa core HTTP server.
Installation
Install via npm:
npm install --save rasa-client
Usage
const RasaClient = // first param is the endpoint without trailing slash// optionally the second parameter can be an authentication tokenconst rc = 'http://localhost:5005'rcrc
API documentation
Examples
// Full example with the remotebot example (from the official Rasa core repo) const SENDER_ID = 'anon'// Greet the botconst msg1 = 'hello'rc