Skip to main content

Speech recognition results

Speech recognition results are added to $request.rawRequest. The data is available in the $request.rawRequest.data field.

Example:

{
"cause": "OK",
"text": "How are you?"
}

Here:

  • cause is the recognition result. Possible values:
    • "OK": the speech was successfully recognized.
    • "NO_INPUT": speech recognition failed.
  • text is the speech text. The field is present if cause is "OK".