This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased


RuleOnlyDataProvider Objects

class RuleOnlyDataProvider(GraphComponent)

Provides slots and loops that are only used in rules to other policies.

Policies can use this to exclude features which are only used by rules from the featurization.


def create(cls, config: Dict[Text, Any], model_storage: ModelStorage,
resource: Resource,
execution_context: ExecutionContext) -> RuleOnlyDataProvider

Creates component (see parent class for docstring).


def provide() -> Dict[Text, Any]

Provides data to other graph component.