rasahq/Rasa Train-Test Model GitHub Action

The GitHub action to run the rasa train and rasa test commands

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 28, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: rasahq/rasa-train-test-gha@9b18cfc8b3bcfca77508704ea37cde4981214d83 # v2.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
rasa_versionThe Rasa version used to run test and trainyeslatest-full
rasa_imageCustom Docker imageno""
rasa_trainRun rasa trainyestrue
rasa_testRun rasa testyestrue
fine_tuneFine-tune modelnofalse
data_validateValidates domain and data files to check for possible mistakesyestrue
data_validate_argsAdditional arguments passed to the rasa data validate commandno""
workspaceThe root directoryno${{ github.workspace }}
train_typeThe types of training (available types: core/nlu/all)noall
train_argsAdditional arguments passed to the rasa train commandno""
test_nlu_argsAdditional arguments passed to the rasa test nlu commandno""
test_core_argsAdditional arguments passed to the rasa test core commandno""
test_typeThe types of tests to run (available types: core/nlu/all)yesall
publish_summaryPublish tests summary as a PR commentnotrue
github_tokenGitHub Token - required to add a comment with summaryno""
configurationModel configuration fileyesconfig.yml
modelPath to a file with a model. Use existing model instead of training a new oneno""
cross_validationSwitch on cross validation mode. Any provided model will be ignorednofalse
configuration_nameConfiguration name used in summary. If not provided a file name is usedno""
data_nameData name used in summary. If not provided a directory name is usednodefault
compare_reportPath to a report that will be used to compare resultsno""
result_directoryDirectory name where results are stored innoresults
report_directoryDirectory name where reports are stored innoreports
gomplate_imageCustom gomplate image. Useful if you use custom gomplate imagenohairyhenderson/gomplate
tmpfs_directoryThe directory location where tmpfs mountsno/.config
namedescription
reportReturn report as JSON