【发布时间】:2019-05-11 22:42:19
【问题描述】:
我们正在使用 OpenWhisk 创建一个利用 Watson Assistant 和 Discovery 的医疗聊天机器人。我们现在希望能够使用语音到文本和文本到语音,但是在获取 synthesize() 函数的标记时遇到了麻烦。现在,我们正在使用命令
curl -u "apikey:apikey" --output token "https://stream.watsonplatform.net/authorization/api/v1/token?url=https://stream.watsonplatform.net/text-to-speech/api"
但我们得到了
{"code":401,"error":"Unauthorized","description":"ERCD250-LDAP-DN-AUTHERR"}
作为输出。有人能帮我们指出正确的方向吗?
【问题讨论】:
标签: token ibm-watson watson-conversation watson-discovery watson-text-to-speech