You are viewing documentation for our open source project which is maintained by the community. If you want to get started building assistants with Rasa please check out our latest [documentation here](/content/docs/index.html).

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](https://pykwalify.readthedocs.io/en/latest/extensions.html#extensions)

#### require_response_keys

```python
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.
