Unable to convert data to 2.x format using convertor

Hello, I am tryng to migrate my nlu data using the command rasa data convert nlu -f yaml --data=./data/nlu --out=./data/nlu I am getting a key error “KeyError: ‘\t’”. How do i fix this?

Hello! Could you please share the files you’re attempting to convert?

This is the file nlu.md (61.5 KB)

Looks like you have a lot of random \t characters, mostly trailing. The problematic ones are inside lines like:

I'd like to speak to a consultant\tplease put me through to a live agent

You should be able to replace these with a space character and the conversion will work:

I'd like to speak to a consultant please put me through to a live agent

1 Like

Ok thanks. Will clean it up

1 Like