Can I specify Speech text for a Permission context in DialogFlow?
The samples and spec usually show:
return conv.ask(new Permission({ context: 'text to read', permissions: 'name of permission' }));
However, the 'text' that I want to display has accented characters in it that mess up the TTS engine. In the regular SimpleResponse
, the text and speech can be separated:
conv.ask(new SimpleResponse({
speech: '<speak>Go right</speak>',
text: 'Go -->'
}));
Is there any way to specify the Speech for a Permission?