watson-voice-bot icon indicating copy to clipboard operation
watson-voice-bot copied to clipboard

There is still a problem with the credentials. There is a known problem with the assistant and speech-to-text creds role. There is a workaround.

Open markstur opened this issue 5 years ago • 2 comments

There is still a problem with the credentials. There is a known problem with the assistant and speech-to-text creds roles. There is a workaround that works for both.

Go to the Cloud Foundry App -> Runtime -> Environment Variables and add the Assistant and STT creds (APIKey and URL) using the same key/values described for use in the local runtime .env. We'll need to document this if we don't come up with an alternative.

Adding a screenshot here for now:

runtime_env

Originally posted by @markstur in https://github.com/IBM/watson-voice-bot/issues/55#issuecomment-646940575

markstur avatar Sep 25 '20 17:09 markstur

Note: For assistant make sure you are using the APIKEY from the "Service" and not the "Cloud Foundry Service".

Same for STT.

TTS seems to be working fine from the CF provided VCAP_SERVICES runtime variable. You should not need to add these as shown in the image. Just ASSISTANT_APIKEY and URL and SPEECH_TO_TEXT_APIKEY and URL

markstur avatar Sep 25 '20 17:09 markstur

Update: Seems to work better if you also specify runtime env for TEXT_TO_SPEECH_APIKEY and TEXT_TO_SPEECH_URL.

markstur avatar Jan 12 '22 20:01 markstur