Rasa Integration via an Event Broker
Install Dashbot via Pip
pip install dashbot
Use the API key created above.
Rasa Event Brokers api produces a message onto a message broker, which is then used to consume the event. In the message broker consumer code, import our python library and publish the events:
from dashbot import rasa
Consume events with Dashbot
def _callback(ch, method, properties, body): event = json.loads(body) db = rasa.rasa(API_KEY_HERE) db.publish(event)