AvatarResponse
Parameters of the Response() method that generates an avatar response object.
Props
customData
customData: Record
Additional data returned from an avatar
interruptableAfter
interruptableAfter: undefined
| number
Time after which an avatar is ready to handle user interruptions (in case the avatar voices its response)
isFinal
isFinal: undefined
| false
| true
Boolean value that specifies whether an avatar's reply is final. If set to true, all other parameters except customData are ignored and the avatar does not process any more inputs in the current conversation
listen
listen: undefined
| true
Optional boolean value that specifies whether an avatar will listen to the user after saying its line (or during the line if interruptions are enabled)
nextState
nextState: undefined
| string
Next avatar state. Optional value
utterance
utterance: undefined
| string
Phrase to reply to the user with