Amazon Lex - Suggestion Chips

Amazon Lex - Suggestion Chips

With Blahboxit's possible to send Suggestion Chips (Buttons) to the virtual assistant's user using IBM's Watson Assistant.


To make Blahbox display Suggestion Chipsthe JSON code below must be pasted in the "Custom Markupof the appropriate "Response", in Amazon Lex Console:

  1. {
  2.     "bbox_suggestions": {
  3.       "options": [
  4.         {
  5.           "title": "Buy"
  6.         },
  7.         {
  8.           "title": "More Info"
  9.         }
  10.       ]
  11.     }
  12. }

JSON Description




bbox_suggestions

options
Every item in "options" represents one button
   title
Button label. When the user clicks on it, the text in that element is automatically sent to the assistant.

Blahbox interprets every element of the JSON and shows it to the user as is shown below:

    • Related Articles

    • Amazon Lex - Suggestion Chips - Lambda

      With Blahbox, it's possible to send Suggestion Chips to the virtual assistant's user using Lambda. Code for Lambda function: exports.handler =  (event, context, callback) => {     var bboxResponse = {};     bboxResponse =  {   "bbox_suggestions": {   ...
    • Integrate Amazon Lex

      This article will help you set up Amazon Lex in Blahbox. To access the Amazon Lex trained bot, you must first of all obtain certain information from the AWS platform Data required: User Credentials Bot name, Alias and Version Region Link ...
    • Dialogflow - Link Out Suggestion

      A Link Out Suggestion is a type of response that a virtual assistant trained with Dialogflow can send to the user in order to improve the usability experience using a button that links out to a URL. When Blahbox detects a Link Out ...
    • Dialogflow - Suggestion Chips

      Suggestion Chips are a type of responses that a virtual assistant trained with Dialogflow can send to the user in order to improve the usability experience using buttons for a quick response. Click here for more information. ...
    • Watson Assistant - Suggestion Chips

      With Blahbox, it's possible to send Suggestion Chips (Buttons) to the virtual assistant's user using IBM's Watson Assistant. To make Blahbox display Suggestion Chips, the JSON code below must be pasted in the "context" of the appropriate dialog node, ...