Search code examples
rasa-nlurasa-core

Store RASA chat history in local file system


I am using RASA to create chat bot. I want to store the chat history as .txt file in local file system. I found that RASA support chat history storage for Mongo DB, Redis and SQL. However i want to store the chat history in local file system. Any help would be highly appreciated.


Solution

  • This is currently not supported out of the box by Rasa. You could however implement your own custom tracker store. I would actually recommend to use the SQLTrackerStore with sqlite. SQLite is also file based, which means you don't have to run anything in the background, but would probably be faster and less implementation effort than implementing your own tracker store. Note that the SQLTrackerStore is only supported since Rasa 1.0.