AvatarUtteranceEvent
Triggered when a user says a phrase, NLU extracts an intent from it, and now an avatar has to react to it.
Props
confidence
confidence: number
| undefined
Optional. Recognized phrase confidence
currentState
currentState: string
Current avatar state
intent
intent: string
Most suitable intent for the phrase (or 'unknown' if unclear)
intents
intents:
Optional. Extended information on the intent recognition results
response
response: string
Default response to the intent from the UI
text
text: string
Recognized phrase text
utteranceCounter
utteranceCounter: number
Number of customer's phrases processed in this state. This counter resets when changing the state to any other (or the same) one
visitsCounter
visitsCounter: number
Number of the state visits