Skip to content

Converts data present in a standard format in CSV to rasa format nlu.md file

License

Notifications You must be signed in to change notification settings

chizzi25/csvtorasa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csvtorasa

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:

  1. Download the whole repo.
  2. Open nlu_sample_format_for_conversion.csv that was downloaded.
  3. First rows consist of intent names. Add any number of intents in the first row.
  4. The succeeding rows. i.e after the intent names row, add all your training phrases/sentences.
  5. save the file
  6. 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.

About

Converts data present in a standard format in CSV to rasa format nlu.md file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%