Rasa Integration via an Event Broker

Create a bot API key

Each bot needs its own API key for tracking. 

Create a bot to get an API key. Make sure to choose Rasa as the platform.

Install Dashbot via Pip

pip install dashbot

Include Dashbot

Use the API key created above.

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)
Close Menu