Add raw_text event when intent is not recognized

At the moment, if an intent is not recognized, the response/payload is “empty”:

{
  "text": "",
  "intent": {
    "name": "",
    "confidence": 0
  },
  "entities": [],
  "speech_confidence": 1,
  "slots": {},
  "wakeId": "",
  "siteId": "...",
  "time_sec": 0.7
}

It might be nice to have at least the ASR raw_text.

3 Likes

This is a good idea, and it’s now in master :slight_smile:

I’m setting both the text and raw_text properties to the original transcription when the intent isn’t recognized.

3 Likes