Rasa Version : 2.8.12
Minimum Compatible Version: 2.8.9
Rasa SDK Version : 2.8.4
Rasa X Version : None
Python Version : 3.8.10
Operating System : Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29
Hi, I’m using this rasa version for my development. I just want to ask for this python code for pika event broker right where exactly the path that i should put? is it under actions folder? im not sure where i should put this python code for running my pika event broker.
import asyncio
from rasa.core.brokers.pika import PikaEventBroker from rasa.core.tracker_store import InMemoryTrackerStore
pika_broker = PikaEventBroker(‘localhost’, ‘username’, ‘password’, queues=[‘rasa_events’], event_loop=event_loop ) asyncio.run(pika_broker.connect())
tracker_store = InMemoryTrackerStore(domain=domain, event_broker=pika_broker)