Version: 2.0.x

rasa.core.brokers.sql

SQLEventBroker Objects

class SQLEventBroker(EventBroker)

Save events into an SQL database.

All events will be stored in a table called events.

session_scope

| @contextlib.contextmanager
| session_scope()

Provide a transactional scope around a series of operations.

publish

| publish(event: Dict[Text, Any]) -> None

Publishes a json-formatted Rasa Core event into an event queue.