Tracker Stores¶
All conversations are stored within a tracker store. Rasa Core provides implementations for different store types out of the box. If you want to use another store, you can also build a custom tracker store by extending the TrackerStore class.
Contents
InMemoryTrackerStore (default)¶
Description: | InMemoryTrackerStore is the default tracker store. It is used if no other tracker store is configured. It stores the conversation history in memory. Note As this store keeps all history in memory the entire history is lost if you restart Rasa Core. |
---|---|
Configuration: | To use the InMemoryTrackerStore no configuration is needed. |
RedisTrackerStore¶
Description: | RedisTrackerStore can be used to store the conversation history in Redis. Redis is a fast in-memory key-value store which can optionally also persist data. |
---|---|
Configuration: | To set up Rasa Core with Redis the following steps are required:
|
Parameters: |
|
MongoTrackerStore¶
Description: | MongoTrackerStore can be used to store the conversation history in Mongo. MongoDB is a free and open-source cross-platform document-oriented NoSQL database. |
---|---|
Configuration: |
|
Parameters: |
|
Custom Tracker Store¶
Description: | If you require a tracker store which is not available out of the box, you can implement your own. This is done by extending the base class TrackerStore. |
---|---|
Steps: |
|