Closed seanmtracey closed 6 years ago
I have a pull request with similar changes to - Assistant, Discovery, Speech to Text, Text to Speech and Tone Analyzer. Wasn't aware that NLU had also been updated.
My pull request has been abeyant as Speech to Text recognition fails with the IAM Keys, and there is an open issue on the SDK.
I will accept this pull request, as there are no conflicts. I may roll in some of the other changes, with a broken speech recognition.
Cool. It appears that resource groups for NLU are being rolled out one region at a time, which puts us in an awkward position. I figured this was a reasonable middle ground to handle both scenarios :)
New NLU services created in regions using resource groups (Sydney) don't use a username/password combination to authenticate a client, they use API keys.
This PR adds an additional API key field to the UI, and passes that along to the NLU service (whilst maintaining to ability to still authenticate with older NLU instances with username / passwords )