what would be the SSML format to play background audio along with a text? is that even supported?
Original Message:
Sent: 12-23-2024 21:35
From: Maxim Tsvetov
Subject: SSML within a Bot Flow
Hi Neil,
Try this one:
MakeCommunication(
"You entered",
ToCommunicationBlank(100),
ToCommunicationSsml("<say-as interpret-as=\"telephone\">" + Flow.phoneNumber + "</say-as>"),
ToCommunicationBlank(100),
"Is that correct ?")
Or this one:
MakeCommunication(
"You entered",
ToCommunicationBlank(100),
ToCommunicationSsml("<say-as interpret-as=\"characters\">" + Flow.phoneNumber + "</say-as>"),
ToCommunicationBlank(100),
"Is that correct ?")
Link to SSML documentation: https://cloud.google.com/text-to-speech/docs/ssml#say%E2%80%91as
------------------------------
Maxim Tsvetov
Principal PS Consultant
Genesys
Original Message:
Sent: 12-23-2024 03:41
From: Neil Jones
Subject: SSML within a Bot Flow
Thanks Jason, I'll take a look.
------------------------------
Neil Jones
Voice Comms Lead
Awaze Uk
United Kingdom
neil.jones@awaze.com
Original Message:
Sent: 12-20-2024 14:48
From: Jason Kleitz
Subject: SSML within a Bot Flow
Hey Neil,
I'm not sure if we have any published guides like that. I did find this doc with some short SSML examples.
------------------------------
Jason Kleitz
Online Community Manager/Moderator
Original Message:
Sent: 12-20-2024 04:17
From: Neil Jones
Subject: SSML within a Bot Flow
Hi,
Looking to use SSML tags within our bot flow, so helping with 'ask for slot' verification. i.e. when the bot reads back a phone number or booking reference (digits only) then the pacing is correct.
I've attempted with different ToCommunicationSsml and MakeCommunication expressions, but each time the 'slot result' variable is not recognised.
Most likely down to my syntax or could be that the <say-as interpret-as> tags can't be used in this way.
Expression example below.
MakeCommunication( "You said", ToCommunicationSsml("<say-as interpret-as=\"number\">ResolveSlot(Slot.phoneNumberNoValidation)</say-as>"), "Is that correct?")
MakeCommunication("You said", ToCommunicationSsml("<say-as interpret-as=\"number\">(ResolveSlot(Slot.phoneNumberNoValidation))</say-as>"), "Is that correct")
Is there a published guide on which SSML tags can be used and expression syntax formatting?
Thanks,
#ConversationalAI(Bots,AgentAssist,etc.)
------------------------------
Neil Jones
Voice Comms Lead
Awaze Uk
United Kingdom
neil.jones@awaze.com
------------------------------