Version: 3.x

rasa.plugin

plugin_manager

@functools.lru_cache(maxsize=2)
def plugin_manager() -> pluggy.PluginManager

Initialises a plugin manager which registers hook implementations.

refine_cli

@hookspec
def refine_cli(subparsers: SubParsersAction,
parent_parsers: List[argparse.ArgumentParser]) -> None

Customizable hook for adding CLI commands.

get_version_info

@hookspec
def get_version_info() -> Tuple[Text, Text]

Hook specification for getting plugin version info.

configure_commandline

@hookspec
def configure_commandline(
cmdline_arguments: argparse.Namespace) -> Optional[Text]

Hook specification for configuring plugin CLI.

init_telemetry

@hookspec
def init_telemetry(endpoints_file: Optional[Text]) -> None

Hook specification for initialising plugin telemetry.