Rasahub-Rasa
Rasahub-Humhubs implements a connector between Rasahub and Rasa_Core .
Prerequisites
- Python installed
Installation
Pypi package
Install via pip:
pip install rasahub-rasa
Usage
Create configuration
Create file config.yml in working path. Example:
rasa:
host: '127.0.0.1'
port: 5020
Command-Line API
Start rasahub:
python -m rasahub
Configuring Rasa
In your Rasa bots run.py just import the channel using
from rasahub_rasa.rasahubchannel import RasahubInputChannel
And let the agent handle the channel:
agent.handle_channel(RasahubInputChannel('127.0.0.1', 5020))
- License: MIT
- PyPi - package installation