Persisting Chat messages


I would like to persist the chat messages in a Rasa ChatBot. Is there any configuration in Rasa Core to persist the chat messages that could be used to train the ChatBot. Any help in this regard would be appreciated

Hi @abhijit_s_2000!

Absolutely! The tracker has a function tracker.export_stories_to_file(export_path) which writes the dialogue as a story string, ready to train from. You can check the source code for more info on the function

Let me know if this fixes your problem!