rasahq/Rasa Train-Test Model GitHub Action
The GitHub action to run the rasa train and rasa test commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 28, 2023
- License
- Apache 2.0
Pinned Snippet
uses: rasahq/rasa-train-test-gha@9b18cfc8b3bcfca77508704ea37cde4981214d83 # v2.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| rasa_version | The Rasa version used to run test and train | yes | latest-full |
| rasa_image | Custom Docker image | no | "" |
| rasa_train | Run rasa train | yes | true |
| rasa_test | Run rasa test | yes | true |
| fine_tune | Fine-tune model | no | false |
| data_validate | Validates domain and data files to check for possible mistakes | yes | true |
| data_validate_args | Additional arguments passed to the rasa data validate command | no | "" |
| workspace | The root directory | no | ${{ github.workspace }} |
| train_type | The types of training (available types: core/nlu/all) | no | all |
| train_args | Additional arguments passed to the rasa train command | no | "" |
| test_nlu_args | Additional arguments passed to the rasa test nlu command | no | "" |
| test_core_args | Additional arguments passed to the rasa test core command | no | "" |
| test_type | The types of tests to run (available types: core/nlu/all) | yes | all |
| publish_summary | Publish tests summary as a PR comment | no | true |
| github_token | GitHub Token - required to add a comment with summary | no | "" |
| configuration | Model configuration file | yes | config.yml |
| model | Path to a file with a model. Use existing model instead of training a new one | no | "" |
| cross_validation | Switch on cross validation mode. Any provided model will be ignored | no | false |
| configuration_name | Configuration name used in summary. If not provided a file name is used | no | "" |
| data_name | Data name used in summary. If not provided a directory name is used | no | default |
| compare_report | Path to a report that will be used to compare results | no | "" |
| result_directory | Directory name where results are stored in | no | results |
| report_directory | Directory name where reports are stored in | no | reports |
| gomplate_image | Custom gomplate image. Useful if you use custom gomplate image | no | hairyhenderson/gomplate |
| tmpfs_directory | The directory location where tmpfs mounts | no | /.config |
Outputs
| name | description |
|---|---|
| report | Return report as JSON |