# This gist is deprecated. | |
# Please follow the guide here | |
# https://rasa.com/docs/rasa-x/installation-and-setup/existing-deployment/#import-existing-conversations-from-rasa-open-source | |
# to migrate from Rasa Open Source to Rasa X |
the script doesn't work in rasa-x 0.24.1
@nicolasfarina Which error are you getting?
@nicolasfarina I believe that's because you have an older version of Rasa you're running the migration with, but you have a conversation on the database that has a document from Rasa 1.6 and up. I removed the document with the event session_started
from my Mongo database and was able to run the migrations fine.
@wochinge Any solution or should we delete the event from the tracker.db?
I'm using Rasa 1.7.0 with Redis 5.0.7.
I get this error:
File "migrate_tracker_store_to_rasa_x.py", line 259, in
args.max_trackers,
File "migrate_tracker_store_to_rasa_x.py", line 89, in _migrate_tracker_store_to_rasa_x
old_tracker_store = _get_tracker_store_from_endpoints_config(old_endpoints_file)
File "migrate_tracker_store_to_rasa_x.py", line 170, in _get_tracker_store_from_endpoints_config
tracker_store = TrackerStore.find_tracker_store(
AttributeError: type object 'TrackerStore' has no attribute 'find_tracker_store'
Please use rasa export
now which is officially maintained and doesn't break between releases :-)
Hi @wochinge,
I have been able to migrate conversations from rasa tracker store into sql databases, thank you so much for your script, worked nicely. Could it be possible to extract conversations by given a range (456-700). I know that now we can extract a maximum number of conversations (--max-trackers 10), but it could be nice to extract based on a given range.
Thanks.