Reputation: 13
I know how to use the Watson Assistant API to create a skill, but I also need to create an assistant and add the skill to it. How can I do this with Watson API or SDK?
Upvotes: 1
Views: 578
Reputation: 742
You can't create a new Assistant by API, you need to use the GUI from Watson Assistant. Concerning the skills, you could create a new one from API but it is really complex. I would suggest to start by creating a skill manually and then using APIs to handle tasks such as backup, switch, adding entities and so on. Essentially, a skill contains all the entities and intents + dialog + some logics. It's a big object in JSON format that is really complex to manipulate programmatically. This way, the user interface do helps the user in those tasks.
Upvotes: 1
Reputation: 17118
You are referring to this IBM Watson Assistant REST API. The API is (currently?) limited to some tasks only, including management of sessions, environments and releases.
It is possible to provision Watson Assistant through the Resource Controller API.
Upvotes: 1