IBM Watson Integration
Last updated
Last updated
This guide will allow you to integrate the Acquire platform with IBM Watson
A Watson service instance must be started first.
Load the Watson Assistant page in the IBM Cloud catalog.
The Watson service instance will be created in the default resource group. Please note if you wish to change the resource group change it at this stage as it cannot be changed later. However, this group is sufficient for the purposes of exploring the Acquire chat bot integration.
If you're creating an instance for production use, which is more robust, then learn more about resource groups.
Choose an appropriate region/location to deploy your instance in.
Click Create.
After creating a Watson Assistant service instance, the Watson Assistant dashboard will appear and allow you to manage it.
Click Launch Watson Assistant. If you're prompted to log in, provide your IBM Cloud credentials.
Click Create assistant to add an assistant.
Click Create assistant.
A dialog skill is a container for the artefacts that define the conversation flow that your assistant make use of to engage with your customers.
Click on your assistant tile to open the assistant.
Click Add dialog skill and Create dialog skill.
You will then land on the Intents page.
Here you can add training data, that was built by IBM Watson, as further skills by adding intents from the Contents Catalog. By giving the assistant access to the General Content Catalog it allows the Chat Bot to greet the visors and conclude conversations with them appropriately.
Click the Content Catalog tab.
Find General in the list, and then click Add to skill.
You successfully started to build your training data by adding pre-built content from IBM.
A dialog defines your conversation flow in the form of a logic tree. It matches intents (what users say) to responses (what the bot says back). Each node of the tree has a condition that triggers it, based on the user's input.
We'll create a simple dialog that handles the greeting and ending intents, each with a single node.
Now let's add nodes between the Welcome node and the Anything else node that handle our intents.
1. Click the More icon on the Welcome node, and then select Add node below.
2. In the If assistant recognizes field of this node, start to type #General_Greetings. Then, select the #General_Greetings option.
3. Add the response text, Good day to you!
5. Click the More icon on this node, and then select Add node below to create a peer node. In the peer node, specify #General_Ending in the If assistant recognizes field, and OK. See you later. as the response text.
Go to the Acquire’s Bot Section. Here you will find all the available third-party chat-bots. The option to install “IBM Watson Bot” will be listed in the Bot Store.
1. Click on the IBM Watson option from the Bot Store and a popup will be displayed. You will need a the following parameters ( “apikey” , “url” and “assistant_id”) to allow the chat widget to communicate with Acquire.
2. To find your “apikey” and “url”, navigate to the Dashboard of IBM Cloud and press on Services that is displayed. Click on the Watson service, It’ll navigate to IBM Watson Service Page. Copy your “apikey” and “url” and paste it to “Acquire” popup.
3. To find your “assistant_id”, Click on Launch Watson assistant button. It will display a list of all available assistants.
4. Select the "More" icon inside the assistant window and then click on settings.
5. Click on API Details tab, Copy “assistant_id” and paste it to “Acquire” popup window as shown below.
6. The IBM Watson Chat Bot is now setup and ready to be deployed. Press the install button.
7. You can use the “Trigger” filters to allow the Chat Bot to engage with your customers and answer visitor questions.
8. Finally, now you can navigate to your simulation page to test the new and improved Chatbot by entering the different types of questions that the system has been configured with.
4. Click to close the edit view.
6. Click to close the edit view.