Version: 3.x
rasa.shared.utils.pykwalify_extensions
This module regroups custom validation functions, and it is loaded as an extension of the pykwalify library:
https://pykwalify.readthedocs.io/en/latest/extensions.html#extensions
require_response_keys
def 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.