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

Version: Main/Unreleased


This module regroups custom validation functions, and it is loaded as an extension of the pykwalify library:


require_response_keys(responses: List[Dict[Text, Any]], _: Dict, __: Text) -> Union[SchemaError, bool]

Validates that response dicts have either the "text" key or the "custom" key.