Search code examples
ibm-cloudibm-watsonwatson-conversation

Is it possible to upload a workspace via rest api in watson conversation service?


I have created ~100 intents on Conversation service on Bluemix by importing them from a csv. That's fine. Now, I need to create dialogs for them. I can do that from the administrative dashboard of the service, but that's a tedious task. I could easily automate the task if I could define them in a Json and upload it via a REST API or via the service dashboard (like for the intents). I don't see the capability, so the question is: Is there an API that I can use to upload a dialogs definition? Thanks.


Solution

  • You can upload a json workspace via the service dashboard (there's an upload icon next to the Create button on the Workspaces page) so you should be able to define dialogs directly in the workspace json.

    There's currently no way to automatically upload a workspace via the API- there's only one method, to send input, as shown in the API docs.