notice

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

rasa.nlu.emulators.luis

LUISEmulator Objects

class LUISEmulator(Emulator)

Emulates the response format of the LUIS Endpoint API v3.0 /predict endpoint.

https://westcentralus.dev.cognitive.microsoft.com/docs/services/luis-endpoint-api-v3-0/ https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/luis-concept-data-extraction?tabs=V3

normalise_response_json

| normalise_response_json(data: Dict[Text, Any]) -> Dict[Text, Any]

Transform response JSON to LUIS format.

Arguments:

  • data - input JSON data as a dictionary.

Returns:

The transformed input data.