Rasa Improved
License | Version | ||
Travis CI | Coverage | ||
Supported versions | Wheel | ||
Status | Downloads |
If you like rasam
or if it is useful to you, show your support by buying me a coffee.
pip install rasam
importers:
- name: rasam.PlaceholderImporter
fake_data_count: 10 # default value is 1
pipeline:
- name: rasam.RegexEntityExtractor
- name: rasam.URLEntityExtractor
The PlaceholderImporter
removes the need to write unnecessary information (eg. name, address, numbers, etc.) and helps focus on writing test data.
## intent:tell_name
- My name is {name}
- I am {name} and he is {name}
## intent:tell_address
- I live in @address
- I stay at @address and @address
It is possible to mix both {}
and @
placeholders but it is recommended to use only one style for consistency.
- any (if you need just any data)
- integer
- decimal
- number
- name
- first_name
- last_name
- text
- word
- paragraph
- uri
- url
- local_uri
- date
- time
- month
- day
- timezone
- company
- license_plate
- address
- city
- country
- user_agent
- password
- user_name
- file_path