IBM Watson Assistant: How to get json response into button options - ibm-cloud

I'm working on a flight reservation chatbot using Watson Assistant chatbot that connects to IBM Cloud SDK through Java API. My idea is to get the API results, from a client's flight search, and set the json response into different button options using Watson. The problem is that I'm not finding a way to do it, can someone help me?

Related

IBM Watson Assistant in Flutter: How to show options?

I created an IBM Watson Assistant chatbot, and a flutter app. I'm using the package watson_assistant_v2. My bot returns response options. How do I show them visually?
I'm using the package example and I didn't find anything about it.
In Watson Assistant, defining the options:
Preview, showing the options:
My app, not showing options:
Response options are encoded in the JSON structure which Watson Assistant returns. You can see the options here as part of the API definition. The documentation for Watson Assistant discusses receiving an option response as part of implementing option responses.
You need to decode the response and show the options as clickable UI element.

Attempting to create a Chatbot using IBM Watson Assistant and Facebook Messenger

My friends and I are trying to create a chatbot using IBM Watson Assistant and integrating it with Facebook Messenger as platform to host the chatbot.
Our intention is to extract the text and image data that is inputted in the chatbot. Since the chatbot is integrated with Facebook, we are having problems finding a way to extract the data.
Any form of help would be much appreciated!
Thanks!!!!!!!!

IBM Watson Assistant: Multi-workspace for Facebook page?

We have integrated a Watson Assistant skill/workspace with Facebook page using Watson-provided integration approach from virtual Assistants tab.
We are able to get the response from single skill/workspace. Now we want to add another skill/workspace to the integration, but we are not able add it.
Please let us know how can we enable multiworkspace approach for FB integration using watson provided integrations.
At this time, you can only have one skill per assistant. You can swap existing skills using the tool.
If you are using the Watson Assistant API (V1 only) from an application, then you have access to multiple workspaces / skills. See the Botkit Middleware for Watson Assistant for an example of dynamically switching workspaces. It is based on the Watson SDKs.

I can't set up the Facebook integration with IBM Watson Assistant. Callback URL 404 error

Following the instructions for adding Facebook Messenger integration to an IBM Watson Assistant (Watson Conversation chatbot) it all goes well until adding the callback url to the webhooks setting in the Facebook app messenger settings.
The URL returns a 404 error.
Has anyone seen a fix for this?
I have managed to find a fix for this. Basically although you can create a Watson Assistant service in any region (EU, USA, Asia etc etc) the integrations only work on services created in the USA region. I recreated the service in Dallas (which created a USA based callback URL) and the Facebook app accepted that url with no issues.
Note I have seen this behaviour with IBM Cloud Functions too. Calling cloud functions natively (which are extremely powerful) from Watson Assistant also requires the service to be USA based.

How to embed IBM Watson Assistant chatbot into another HTML page

I have created my chatbot with IBM Watson Assistant from the GUI using Intents, Entities and Dialog and also tested the same using the "Test Yourself" utility. Now I want to embed this Chatbot on another HTML page. How do I do this? How would I start?
Check out the section on integrations for IBM Watson Assistant. In addition the GitHub organisation Watson Developer Cloud provides the SDKs and has samples. One of them is Watson Simple which is a good starting point.