notice
This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).
Version: Main/Unreleased
rasa.nlu.emulators.wit
WitEmulator Objects
class WitEmulator(Emulator)
Emulates the response format of this wit.ai endpoint.
More information about the endpoint: https://wit.ai/docs/http/20200513/`get__message_link`
normalise_response_json
def normalise_response_json(data: Dict[Text, Any]) -> Dict[Text, Any]
Transform response JSON to wit.ai format.
Arguments:
data
- input JSON data as a dictionary.
Returns:
The transformed input data.