This will convert CSV file to Rasa acceptable file formats.
The standard format to be followed while creating a CSV is shown in nlu_sample_format_for_conversion.csv file. This CSV file is converted to rasa format nlu.md and domain.yml file.
STEPS TO CREATE nlu.md & domain.yml file:
- Download the whole repo.
- Open nlu_sample_format_for_conversion.csv that was downloaded.
- First rows consist of intent names. Add any number of intents in the first row.
- The succeeding rows. i.e after the intent names row, add all your training phrases/sentences.
- save the file
- Open csvtorasa.py and call the function/method create_rasa_nlu(path, nlu_md_path). Don't forget to specify path to the CSV file using the path parameter, and path where the output nlu.md file needs to be created via the nlu_md_path parameter.
+ Interested in contributing? Please go ahead and address issues or create one.