Hi there.
I’m using Microsoft Text-to-speech- TTS with Rasa OS. Everything works fine except when I’ve a response with buttons, the TTS always reads the button’s payload. Is there a way to configure TTS to skip reading a the payload?
utter_menu_NIF:
- text: "What do you like to read? Select your answer:"
buttons:
- title: "A book"
payload: "/read a book" --------this line shouldn’t be read
- title: "A newspaper"
payload: "/read a newspaper" -------- this line shouldn’t be read
The problem is that TTS “reads” like this:
What do you like to read? Select your answer:
1: A book read a book
2: A newspaper read a newspaper
When it should read like this:
What do you like to read? Select your answer:
1: A book
2: A newspaper
I’ve a custom action that defines some configurations for the TTS service, which as this code:
dispatcher.utter_message(json_message = {
"type": "event",
"name": "config",
"sessionParams": {
"userNoInputTimeoutMS": 5000,
"userNoInputRetries": 2,
"bargeIn": True,
"sttProfanityFilter": "keep",
"userNoInputSendEvent": True,
"sttSpeechContexts": [
{
"phrases": ["
Is there any configuration to be added to avoid this issue?
Thanks a lot, for any help. Pedro