RasaHQ / contributors

2 stars 0 forks source link

Migrating an existing assistant to Rasa 1.0 and Rasa X #6

Closed JustinaPetr closed 3 years ago

JustinaPetr commented 5 years ago

Are you a Rasa user who built and deployed the Rasa assistant before the release of Rasa 1.0 and Rasa X? If you have migrated your existing assistant to Rasa 1.0 and Rasa X, write up the steps and your experience so far in a tutorial or blogpost.

mohankumargx commented 5 years ago

Hi Justina, Built a bot earlier to release of Rasa 1.0, below are the steps i have followed to migrate to rasa 1.0

  1. Backup the project folder (If in case mess up you can look for it)
  2. Uninstalled rasa-nlu and rasa-core
  3. Install rasa 1 using "pip install rasa" command
  4. Create new folder and then run "rasa init " command which creates all the necessary files required.
  5. If you have training data in markdown(.md) format skip next step
  6. Convert the training data (If you were used json format for training data) into mark down format using "rasa data convert nlu --data input_data_file --out nlu.md -f file_format{md} " and keep nlu.md file into the data folder.
  7. init command default creates config.yml for supervised_embeddings pipeline.. if you are using other change accordingly
  8. Change the content of domain.yml, stories.md, endpoints.yml and actions.py.
  9. Run "rasa train"command
  10. Run "rasa interactive --endpoints endpoints.yml" for interactive learning
  11. Run "rasa run actions --port port_number(Optional)" to run action server
  12. Run "rasa shell --endpoints endpoints.yml" for talking to the bot
  13. You may run "rasa test" to evaluating models
JustinaPetr commented 5 years ago

Hi @mohankumargx. That's awesome! :) A few questions:

mohankumargx commented 5 years ago

@JustinaPetr

rgstephens commented 5 years ago

I wrote an article on migration here

JustinaPetr commented 5 years ago

Hi @rgstephens. Awesome! Thank you so much for sharing and also, thanks for including so much useful feedback :) We will reference the blogpost in our newsletter.

rgstephens commented 5 years ago

I've written another post related to migration on my blog at gstephens.org and I've also created a command line tool, rasacli which can be useful both for migrating to Rasa X and to do bulk operations against Rasa X from the command line.

mohankumargx commented 5 years ago

@rgstephens really a awesome blog. Thank you

koaning commented 3 years ago

@JustinaPetr I think we can close this one now 😅 ?

JustinaPetr commented 3 years ago

Yes! Closing it now.