I am planning to migrate our rasa bot from 1.10.3 to 3.x ultimately. Since, many features are deprecated and removed in 3.x, I am planning to stage migration to 2.x and eventually to 3.x. But the NLU conversion code from .md to .yaml is failing.
If I run ‘rasa data convert nlu -vv -f yaml --data=./data/nlu --out=./data/nlu1’, i get the error:
rasa data convert nlu: error: argument -f/–format: invalid choice: ‘yaml’ (choose from ‘json’, ‘md’)
And when i run rasa data convert core -vv -f yaml --data=./data/stories --out=./data/stories1, i get the error:
rasa data convert: error: invalid choice: ‘core’ (choose from ‘nlu’)
Do update the Rasa and Rasa-SDK to at least 2.8.3 first and then follow:
For 1.10 to 2.0
rasa data convert nlu -f yaml --data={SOURCE_DIR} --out={TARGET_DIR}
rasa data convert nlg -f yaml --data={SOURCE_DIR} --out={TARGET_DIR}
rasa data convert core -f yaml --data={SOURCE_DIR} --out={TARGET_DIR}
Then, just update the rasa to a latest version and train the model.