Skip to content

Audio Client Ignores Prompt Setting In audio_end Message #17

Description

@ajgbarnes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions