m90 / rasa-mongo-tracker-store

TrackerStore for rasa_core connecting to MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation notice

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.


rasa-mongo-tracker-store

Build Status

TrackerStore for rasa_core connecting to MongoDB

Installation

Install the package using pip:

pip install python_mongo_tracker_store

Usage

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',
    ))

License

MIT © Frederik Ring

About

TrackerStore for rasa_core connecting to MongoDB

License:MIT License


Languages

Language:Python 94.1%Language:Makefile 5.9%