Protected
constructorReadonly
isSpecifies whether the transcription returned is final, or partial (interim) which can be updated later as the sentence continues.
Readonly
transcriptionReturns the transcription from the Automatic Speech Recognition.
In case enableSystemCommands()
function used, returns the command executed by the system.
In case an NLP intent model used, returns intent response from the ML engine.
In case a keyword detection model used, returns results from the keywords model.
Returns an array of QnaResponse elements, each representing an answer to the question in the eventArgs.transcript. It has properties answer(a string with the ML's response) and answerStatusCode, which can take values
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
The parameter when the callback registered on from
VoiceMLModule.onListeningUpdate
is called. This is to mark the input audio transcription (and possibly NlpModels as a result) was updated.Example