notice

This is documentation for Rasa Open Source Documentation v2.0.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.1.x).

Version: 2.0.x

rasa.core.brokers.file

FileEventBroker Objects

class FileEventBroker(EventBroker)

Log events to a file in json format.

There will be one event per line and each event is stored as json.

publish

| publish(event: Dict) -> None

Write event to file.