code: def test_luis_response_without_intent_ranking():
      em = LUISEmulator()
      data = {
          "text": "I want italian food",
          "intent": {
              "name": "restaurant_search",
              "confidence": 0.737014589341683,
          },
          "entities": [
              {
                  "entity": "cuisine",
                  "value": "italian",
                  "role": "roleCuisine",
              }
          ],
      }
      norm = em.normalise_response_json(data)
      assert norm == {
          "query": data["text"],
          "prediction": {
              "normalizedQuery": data["text"],
              "topIntent": "restaurant_search",
              "intents": {
                  "restaurant_search": {"score": 0.737014589341683}
              },
              "entities": {
                  "roleCuisine": ["italian"],
                  "$instance": {
                      "roleCuisine": [
                          {
                              "role": "roleCuisine",
                              "type": "cuisine",
                              "text": "italian",
                              "startIndex": None,
                              "length": None,
                              "score": None,
                              "modelType": None,
                          }
                      ]
                  },
              },
          },
      }
  
imports: from rasa.nlu.emulators.luis import LUISEmulator
label_desc: Use image node_id 4 for calling a global function with example usage: test_luis_response_without_intent_ranking() without return types