Open markstur opened 3 years ago
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
Update: Seems to work better if you also specify runtime env for TEXT_TO_SPEECH_APIKEY and TEXT_TO_SPEECH_URL.
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:
Originally posted by @markstur in https://github.com/IBM/watson-voice-bot/issues/55#issuecomment-646940575