IBm Cloud Watson Assistant: How to get the ID of a workspace

我怕爱的太早我们不能终老 提交于 2019-12-08 08:34:48

问题


I made a chatbot using IBM Cloud Watson Assistant and I need to use it in my Android applications. This my my config.xml code :

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- Watson Conversation Service Credentials -->
    <string name="workspace_id">???</string>
    <string name="conversation_username">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string>
    <string name="conversation_password">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string>

    <!--Watson Speech-To-Text Service Credentials-->
    <string name="STT_username">yP4_u_mm3mhVNn9zcgIMFakfbcUO2Q4L5cxbLhYpn8WN</string>
    <string name="STT_password">yP4_u_mm3mhVNn9zcgIMFakfbcUO2Q4L5cxbLhYpn8WN</string>

    <!--Watson Text-To-Speech Service Credentials-->
    <string name="TTS_username">-t1Rljl4Mu1pdno09T2OXeMnQOyPPBgrEDieZSwsVzJX</string>
    <string name="TTS_password">-t1Rljl4Mu1pdno09T2OXeMnQOyPPBgrEDieZSwsVzJX</string>

</resources>

I know that the API key is used instead of the userName and password in the services. My problem is that I can't find the workspace ID of my chatbot. I searched alot but I can't find it.


回答1:


First of all, Workspaces in IBM Watson Assistant are now called Skills. So, once you create a Watson Assistant service (under AI in Catalog) on IBM Cloud.

  • Click on Launch Tool
  • Create a New Skill under Skills Tab.
  • Click on the three vertical dots next to the Skill you just created
  • Click View API Details

  • You should see the Workspace ID as the third entry under Skill Details.



来源:https://stackoverflow.com/questions/53269368/ibm-cloud-watson-assistant-how-to-get-the-id-of-a-workspace

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!