Show assistant response text on web clients
This commit is contained in:
parent
f73adc83bc
commit
8708d53236
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,15 @@ $(document).ready(function() {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'platypush.message.event.assistant.ResponseEvent':
|
||||||
|
createNotification({
|
||||||
|
'title': 'Assistant response',
|
||||||
|
'text': event.args.response_text,
|
||||||
|
'icon': 'volume-up',
|
||||||
|
});
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
case 'platypush.message.event.assistant.ConversationEndEvent':
|
case 'platypush.message.event.assistant.ConversationEndEvent':
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue