This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x


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]], rule_obj: Dict, path: Text) -> bool

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