External Channel - conversations not stored in "stories.yml"

Hi there!

I’m using rasa OS in a GCloug VM.

(venv) antoniopedrolopes@rasa:~/catiaAudio$ rasa --version
Rasa Version      :         2.8.15
Minimum Compatible Version: 2.8.9
Rasa SDK Version  :         2.8.4
Rasa X Version    :         None
Python Version    :         3.8.10
Operating System  :         Linux-5.13.0-1019-gcp-x86_64-with-glibc2.29
Python Path       :         /home/antoniopedrolopes/venv/bin/python3

I’ve an audio external channel, “audiocodes” and I use this commands in order to talk to the bot:

In one terminal: rasa run -m models --enable-api --debug In another terminal: rasa run actions --debug

I’m able to talk to the bot, the bot gives-me the right answers, but in the end, the conversations/stories are not stored in my “stories.yml” file.

I wonder, if I’m doing someting wrong?

Thanks in advanced!


This is the expected behavior. Rasa does not save conversations in stories.yml.

Imagine a bot with hundreds of users per day!

  • Your file will be huge
  • Your individual stories will be huge - Stories should not be whole conversations, but logical conversation snippets
  • Worst of all, what if the bot made a mistake while talking to a user? If a bad conversation gets saved as a story, the bot will repeat it even more!

If you’re looking for the conversations, they are stored in your Tracker Store, which is the .db file in your bot’s folder by default.

1 Like

Hi @ChrisRahme!

Thanks a lot for your answer. I wasn’t really thinking of those problems!

1 Like