How to load rasa (nlu.md) (strories.md) and domain.yml from mongo db

hi,

i saved all my stories in mongo db , i want to fetch it and train my model ,

i did fetched the data and stored it in a variable but whenever i given variable to data to train , it throwing errors ,

help me how to provide train rasa nlu with api

Why do you want to store your stories in a mongo db? You’ll probably have to load it in a custom manner: Customize how Rasa imports training data