The audio client today only uses the "prompt" value from the attribute in the "action": "text" message as below:
{
"speech": "I am not trained for this",
"voice": "https://stream.watsonplatform.net/text-to-speech/api/v1/synthesize?voice=en-US_LisaVoice&text=I%20am%20not%20trained%20for%20this&watson-token=xc9D......ATB",
"id": "aa16b1e9-xxxx-xxxx-xxxx-58b7f7df23d7",
"language": "en-US",
"audioFormat": "ogg;codecs=vorbis",
"prompt": true,
"action": "text"
}
It does NOT however take notice of the value in audio_end:
{
"action": "audio_end",
"id": "aa16b1e9-xxxx-xxxx-xxxx-58b7f7df23d7",
"prompt": true
}
They should arguably always be the same however maybe there is also a bug in the AudioGateway as we are seeing differences in these values.
The audio client today only uses the "prompt" value from the attribute in the "action": "text" message as below:
{ "speech": "I am not trained for this", "voice": "https://stream.watsonplatform.net/text-to-speech/api/v1/synthesize?voice=en-US_LisaVoice&text=I%20am%20not%20trained%20for%20this&watson-token=xc9D......ATB", "id": "aa16b1e9-xxxx-xxxx-xxxx-58b7f7df23d7", "language": "en-US", "audioFormat": "ogg;codecs=vorbis", "prompt": true, "action": "text" }It does NOT however take notice of the value in audio_end:
{ "action": "audio_end", "id": "aa16b1e9-xxxx-xxxx-xxxx-58b7f7df23d7", "prompt": true }They should arguably always be the same however maybe there is also a bug in the AudioGateway as we are seeing differences in these values.