notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.0.x).

Version: Master/Unreleased

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 to
  • parents - 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.