Starting with rasa_core
0.11, a MongoTrackerStore
is included in the core package, i.e. there is no need to use this package anymore in case you are running an up-to-date version of rasa_core
.
TrackerStore
for rasa_core connecting to MongoDB
Install the package using pip:
pip install python_mongo_tracker_store
MongoTrackerStore
can be used when loading or instantiating an Agent:
from rasa_mongo_tracker_store.store import MongoTrackerStore
agent = Agent.load(
'path/to/dialogue/models',
tracker_store=MongoTrackerStore(
None, # rasa's internal logic will set the domain lateron
host='localhost', port=27017, database_name='rasa',
collection='trackers',
))
MIT © Frederik Ring