notice
This is unreleased documentation for Rasa & Rasa Pro Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).
Version: Main/Unreleased
rasa.graph_components.providers.forms_provider
Forms Objects
@dataclasses.dataclass
class Forms()
Holds the forms of the domain.
fingerprint
def fingerprint() -> Text
Returns a fingerprint of the responses.
get
def get(key: Text, default: Any) -> Any
Returns the value for the given key.
FormsProvider Objects
class FormsProvider(GraphComponent)
Provides forms during training and inference time.
create
@classmethod
def create(cls, config: Dict[Text, Any], model_storage: ModelStorage,
resource: Resource,
execution_context: ExecutionContext) -> FormsProvider
Creates component (see parent class for full docstring).
provide
def provide(domain: Domain) -> Forms
Returns the forms from the given domain.