Is there a way to integrate chatbot created using IBM Watson with Skype? - ibm-watson

I want to make a chatbot using IBM Watson for Skype. I am not getting any tutorial to integrate it with Skype. I am confused with various tools and platforms like botkit, chatfuel, IBM Conversation Middleware etc. Anyone can show light on it?

Watson Conversation is one REST API endpoint, so you can build some Skype app for call the Watson endpoint with code.
You can use botkit-framework, have support with Microsoft Bot Framework, including Skype, but you would have to adjust for the new botkit additions by writing some of your own custom code.
Obs.: Try to talk with Skype people professionals to see how to connect one bot API, in this case, Watson Conversation Service.
Reference: Mitch Mason

Related

Possible to upload documents to Watson discovery via Watson Assistant?

I have been trying to find an answer to this question, but can't seem to have any luck.
Is it possible to upload a document to Watson Discovery via Watson Assistant?
If so, could anyone point me in the right direction?
There is nothing out of the box that could do as you ask. Discovery does now come with a number of mechanisms to populate collections, i.e. Box, Web and sharepoint crawlers along with a manual upload. Non of these are integrated with Watson assistant.
That's not to say what you are looking for cannot be done, but you would need to build the mechanism yourself. As an example you could create a response payload (json packet ) within Watson Assistant that triggers some client code which performs an upload. This upload could then directly push the document into a discovery collection via discovery's API methods.

How to upload in muy website the watson chatbot, please

I already finish the chatbot, but I have no idea of how to upload it to my website, please, help :)
I tried to look for some code to send to the IT developers, but cannot find it :( And the IT guys are too busy, so I'ld like to get the answer by myself so I can send it to them if I'm not able to apply it. Thank you. (Btw: I'm not an IT person... :( )
Where to start?
The dialog / conversation part of your Watson Assistant part chatbot is available as a REST API.
There are several deployment options available. For the more popular choices the Assistant tooling provides integrations. So if you want to access your chatbot through slack, or facebook messenger or on a word press site then look at the documentation as to how - https://cloud.ibm.com/docs/services/assistant?topic=assistant-deploy-integration-add
If you are developing your own application or web-page, then your developers will need to design the User Interface and handle the quirks of your dialog. eg. Decide how to display images, options etc., all from the API, which is essentially only message in, response out - https://cloud.ibm.com/apidocs/assistant-v2#send-user-input-to-assistant. There are samples available for them to base from - eg. https://github.com/watson-developer-cloud/assistant-intermediate
If your website is using Wordpress, there is a very easy way to deploy the chatbot to it using a wordpress plug in - https://wordpress.org/plugins/conversation-watson/

Full-fledged Watson Assistant integration for testing

I have implemented a chatbot with Watson Assistant. There is a preview link integration available but this has the disadvantage that HTML and emojis are not supported. Using this and this tutorial I can integrate my bot into Facebook Messenger and Skype. But this only works on local devices and I cannot easily distribute it to other people for testing.
What I would like to do is to let several people test my chatbot simulatenously on their own smartphone with full functionality (HTML rendering, emojis). The integration should be very easy for them, for example just opening a webpage or just adding the bot to their Facebook Messenger or Skype (not so many steps as in the above links).
Is this possible?
You can fork this repository and replace the credentials with yours:
https://github.com/watson-developer-cloud/assistant-simple
Then host it wherever you prefer (you can host it on IBM Cloud as part of the Lite account) and share the link with the people you want to test it.

dialogflow.com - How to integrate with Google Home / Alexa

I am working on an e-commerce website and would like to integrate with Google Voice assistant or Amazon alexa. I have gone through the dialogflow on how to build a voice assistant. But how It'll be available in amazon alexa or google home that shipped to every household ?
Both Alexa and Google Assistant let you develop things that work very much like websites - Alexa calls them Skills, Google calls them Actions. These are programs that run on your (or a) web server, get HTTPS calls from Amazon or Google with JSON information about what the user has said, and are expected to return JSON information that replies to what has been said.
Amazon requires you to use the Alexa Skills Kit to do the development of these sites, but Dialogflow can export its model to Alexa. Google is a little more open, but since they own Dialogflow, integrating a Dialogflow agent with Actions on Google is very straightforward.
You will need to register your Skill/Action with the appropriate company, but once you have done so, it is available to the users. Alexa users need to "install" the Skill from the Skills directory, although that really just means that they can activate it. The Assistant doesn't require users to activate it this way, but it will be listed in the directory. In both cases, users can then trigger it by saying something like "open Skill Name" or "talk to Action Name".

Can I store data captured with a Watson conversation to an external file?

I am looking to capture various answers from a Watson conversation to an external file for analytics. Also looking to capture the length of time a user spends on a session on the bot. First, I need to know whether this is possible and secondaly, the method to do so.
This is really possible. You need to create one application to call the Watson Conversation Service, you can use one function inside the SDK to analyze the conversation.
You need to know: Watson Conversation service is one REST API endpoint, so you can build your app with Python, Java, PHP, Node, etc, and integrating with Watson Conversation.
You will need to use the SDK Watson Developer Cloud for call Watson Services, and, for getting the conversation, you will need to use the getLogs function, and with this, you will access all conversation flows. And with your custom code, you'll store the data.
See one example (Web application using Watson Conversation: Conversation-simple with Nodejs
API Reference for calling the Conversation service and methods.
See how to verify logs inside the UI Conversation.

Resources