notice
This is documentation for Rasa Open Source Documentation v2.1.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.2.x).
Version: 2.1.x
rasa.cli.x
add_subparser
add_subparser(subparsers: SubParsersAction, parents: List[argparse.ArgumentParser]) -> None
Add all rasa x parsers.
Arguments:
subparsers
- subparser we are going to attach toparents
- Parent parsers, needed to ensure tree structure in argparse
start_rasa_for_local_rasa_x
start_rasa_for_local_rasa_x(args: argparse.Namespace, rasa_x_token: Text)
Starts the Rasa X API with Rasa as a background process.
is_rasa_x_installed
is_rasa_x_installed() -> bool
Check if Rasa X is installed.
generate_rasa_x_token
generate_rasa_x_token(length: int = 16)
Generate a hexadecimal secret token used to access the Rasa X API.
A new token is generated on every rasa x
command.
run_locally
run_locally(args: argparse.Namespace) -> None
Run a Rasa X instance locally.
Arguments:
args
- commandline arguments