With Blahbox, it's possible to send a carousel to the virtual assistant's user using IBM's Watson Assistant.
To make Blahbox display a carousel, the JSON code below must be pasted in the "context" of the appropriate dialog node, in Watson Assistant.
bbox_carousel | |
items | Every item represents an image of the carousel. You can place as many items as you wish, although it's not recommended to place more than five. |
title | Title of the image |
imageUri | URL of the image that you wish to display |
textToSend | When the user clicks on the text, the text in that element is automatically sent to the assistant. |
description | Description of the image |
order | Whole number that shows the order of the element when there is more than one element |
Blahbox interprets every element of the JSON and shows it to the user as is shown below: