Widget for IBM Watson conversation chatbot - chatbot

Anyone can suggest a javascript widget to be used for Watson conversation chatbot?
It should be simple to implement in any page, can remember user session and context, and support RTL interfaces.

I think in your case would be the easiest to build one on your own - you may check out their GH to see some samples - https://github.com/watson-developer-cloud/conversation-simple and https://github.com/watson-developer-cloud/text-bot then you can apply your own css/js and just consume their API. As far as I know there no something like generic widget which you can style and just embed in your website.

Related

Dynamically create skills for Actions on Google via an exposed API?

Is there an API exposed for Actions on Google, similar to what Dialogflow offers with their API? The only API-like flow I have found through my research is this webhook flow API, but that only deals with conversation requests, prompts, and responses, which I have already handled.
Ideally I'd like to be able to dynamically create "agents" and their conversation flows without having to use the AoG console, similar to what Amazon offers with Alexa SMAPI.
There's not a full API to do everything that you want end-to-end. Some parts, like Dialogflow and fulfillment, can be automated, but it will still require some manual work in the Actions Console.
I had a conversation with another developer on this subject once. As a workaround, which is admittedly hacky, they decided to use the Puppeteer library to programmatically control a browser instance to fill in fields and click buttons.
That may not necessarily work when the console changes, and isn't a good substitute for an API, but it may work for you.
Yes you can do it using Google Dialogflow REST API
Here are APIs for the agent :
There are many more APIs available for different operations.

How to connect between IBM Watson Assisstant and IBM Watson Discovery?

I am using IBM Watson Assisstant to create a chatbot, and created a Watson Discovery collection too in the project.
I need help in that how the dialogs works to take a response from the Discovery collection when an intent along with the entities are detected in the try section.
in the response section we have to define something or there is something else similar like text response
is the discovery response is only available in the app on which we work
There are a couple of options to link up a IBM Watson Assistant chatbot to IBM Watson Discovery.
The first and oldest is to have the application interact with Watson Assistant and, depending on the flow, context and response send a request to Watson Discovery. Basically, the integration is done in the application layer.
The second option is to use server or client dialog actions in Assistant to directly call into Discovery. See my blog on a barebone news chatbot and the related code on GitHub on how to implement such an action. My example uses client actions (basically let the app handle it again), but server actions are similar. This IBM Cloud solution tutorial covers server actions for a database-driven bot.
The newest option and currently in beta is to use the direct integration of Assistant and Discovery. See "Building a search skill" for an introduction into this direct linkage between IBM Watson Assistant and IBM Watson Discovery.
The option 2 (server action) and 3 should work from the "Try it" in the tooling, the others not because of the app-based coordination.
As usual in IT, there are different way to achieve the goal, the choice is yours... ;-)

Integrate Custom built chatbot with Skype

I have built a chatbot having NLP and AI features in Java language. I have built restful webservices for interaction with the chatbot's AI engine.
The rest API will send the user's query and in return will get an answer by the bot.
I want to integrate this chatbot with Skype. As in there should be a chatbot account and then whenever a person types their query, it should be sent to my server via rest api call and then in turn the response message should be shown in skype chat window.
In my findings, I have seen skype integration with bots built bu Microsoft Bot Framework. Can anyone suggest how can I integrate this custom bot.
If anybody feels I haven't added right tags to reach the exact audience, please add the tags.
I think you need to create a MS Chatbot (in Azure) which allows to deploy it on Skype (and other channels ie Teams), then define a WebHook to invoke your service.
This service needs to "speak" with the MS Bot framework, so you will need to serialise/deserialise the payload, but in the backend you existing endpoint can be used as you need.
Hope it helps.

Actions on Google Smart Home

i wrote a smart home skill for Alexa, which interacts with a bunch of REST apis i created. It integrated with my OAUTH2 server, all good.
I've tried reading the limited Actions on Google documentation, and looked at the example Node app on github, and i'm stumped.
The action.json seems to take a single URL - i'm unclear on what that should be, the example takes the easy route of passing a single url, then deciding on sync/execute etc as url param in the index.js, which I don't want to do.
Can someone please explain how this works for them? I see a bunch of other people struggling on here, so i take some comfort that i may be thick, but i'm not alone!
Since you developed an Alexa smart home skill, you should know the skill adapter hosted as a Lambda function.
The example Node.js program works just like the skill adapter.
When Google Home invokes your smart home app, it sends the request to the url in the action.json. You can use the example Node.js app for this url, then write your function to handle sync/execute requests. This part should be very similar to the REST APIs you created for Alexa.

Bluemix Watson Conversation API to manage intents, entities

The documented API only allows interaction with the Watson Conversation service once it is configured. Is there any API which will allow the configuration. For example create intents, entities etc...
Good questions and we agree. We have plans shortly to expose a lower level set of APIs that will address your concerns. Brian
At this point in time the APIs for what you want to do are not publicly exposed.
Just to close out this question. The API for Watson Assistant (formerly Watson Conversation) can be seen here. The Watson Developer SDKs support that API.
To see the API in action there are several examples. I wrote a tool demonstrating some of the API calls and a so-called EgoBot that mutates during the dialog, i.e., adds objects by using that API.