I am trying to implement IBM Watson chatbot into a mobile application, and would need logging of user responses to the chatbot. So far, I don't know of any docs or guides to log user responses to the chatbot or the chatbot's responses.
How would I log the user's messages to the bot?
Thanks in advance.
I would suggest that you start investigating the docs about the Watson Assistant API. They are part of the Watson Assistant documentation and describe how to integrate a bot (assistant + skill(s)) into an app.
Watson Assistant provides several ready integrations to link an assistant to platforms like Facebook Messenger, Slack, Zenhub and others. But for a custom application you would need to use the API. The Watson Developer Cloud org on GitHub hosts SDKs for many common programming languages, including code samples.
Related
We have built a support QNA chatbot with the Microsoft Bot Framework v4 on Javascript. We have managed to handoff the conversation to a live agent in a web chat when the bot doesn't have the right answer.
Our requirements are to handoff the conversion to a live support agent in Microsoft Teams. We saw there is an example of how to do this somewhere in Microsoft's documentation: https://learn.microsoft.com/en-us/healthbot/handoff-teams
The problem is that this uses a marketplace app designed for healthcare and we cannot find any documentation on how to do this without this management portal or how we can set up the handoff on our own.
Any bit of information regarding this use case would help. Thanks!
I don't understand the difference here, but there must be one. With the Azure QnA Maker, I can create a list of questions and interact with the Knowledge Base via an API and get answers back. What additional features does the Bot Service offer?
QnA service can only retrieve answers from the Knowledgebase, nothing else. You can think it as a fancier Database, you can query it using human language.
Bot Service is the application layer, you can build other business logic in this layer to make your Bot looks smarter. e.g. User asks "What's the weather tomorrow", when your bot service receives this message, you can call the weather API to get the weather, instead of forwarding the question to the QnA service. The bot service also provides interfaces to integrate with different chat channels like Teams, Slack, etc.
Of course, you can do much more in the bot service based on your own business needs. If your bot is solely used for QnA, this layer indeed will seem to be a thin layer wrapper.
The Azure Bot service is just a bot managing SaaS which offers multiple things like ability to automatically push you bot onto multiple channels(teams, slack, facebook etc.) without needing to code the adaptors. It also offers other services like hosting your bot onto the Azure cloud servers and other services like LUIS (Microsoft's NLU), QnA maker, speech service etc.
The web channels adaptor is mostly free which the bot hosting and other services are paid
I am planning to develop a bot using Microsoft bot framework. The reason for choosing this framework is for integrating it with teams. The bot which i am planning to develop should do a proactive alert like when a ticket gets updated in ITSM platform the user should get notified. Can anyone please help me out with the architecture for building up this bot. Because i could see in some documentation they are suggesting to use Azure functions and Azure storage queues for proactive assist bot. Please assist. I am planning to do this using node.js SDK.
You can read all about proactive messages and how to build them in the Bot Framework documentation. Overall, there is a lot of useful information there on how to build your bot.
You can also reference the blogs and Botbuilder-Samples repo. The repo provides examples you can build and run teaching you what you need to know to get going. It does so in iterations graduating from basic to advanced so you achieve a full understanding.
Best of luck!
I'm trying to figure out which open source framework to use to start building a conversational AI for our business. We are a financial technology company so security/ privacy is just as important as ability to build features quickly.
Amazon Lex seems to be a good choice, is it possible to use it with Google Home or other voice assistants?
Also, any additional advice on which platform to use/ architecture would be very much appreciated.
Thank you!
Yes Amazon Lex can work with other services. From the Lex website:
"With Amazon Lex, you can build, test, and deploy your chatbots directly from the Amazon Lex console. Amazon Lex enables you to easily publish your voice or text chatbots to mobile devices, web apps, and chat services such as Facebook Messenger, Slack, Kik, and Twilio SMS. Once published, your Amazon Lex bot processes voice or text input in conversation with your end-users. Amazon Lex is a fully managed service so as your user engagement increases, you don’t need to worry about provisioning hardware and managing infrastructure to power your bot experience."
The answer is a bit more complex than that! Adding a bit more here as this is coming up in Google searches:
Yes, it can integrate with Facebook Messenger, Slack, Kik and Twilio SMS — those have options direct in the Lex interface for linking those services. When it comes to Google Home, you'd need to create your own bridge between Amazon Lex and Google's Actions SDK.
So you'd take what the Google Actions SDK hears someone say when they speak to their Google Home (the fulfilment text), and then need to pass that onto Amazon Lex. To do that, you need to use Amazon Lex's postText or postContent functions (Lex Runtime docs on that). I haven't done this myself just yet, but I've heard of others doing similar and spotted this Stack Overflow post explaining it in a bit more detail when looking for an example.
I want to create a bot, but I am confused what is exactly Bot Framework and Azure Bot service? Can anyone explain in detail?
The best way to understand the difference is going through the docs. The Azure Bot Service documentation is available here.
In a nutshell, Azure Bot Service provides a set of templates to get started with the creation of Bots and accelerate the development since it provides an integrated environment. Of course, the templates that it creates are based on the BotFramework. With Azure Bot Service, you can even code your bot directly from the Azure Portal Editor, from the comfort of your browser.
If you don't want to start with Azure right way, and want to develop your Bot locally first, etc, you might want to use the BotFramework builder bits; but as I said; once you se Azure Bot Service, you are able to download the generated bot and continue the development from your machine if you want.
Admittedly you asked your question a year and a half ago, but in early 2018 it seems as though Microsoft uses the two terms interchangeably for one product.
Take, for example the documentation link from the bot framework home page, the title of this page is Bot Service Documentation:
https://learn.microsoft.com/en-us/bot-framework/
Also, in the Azure pricing calculator only Azure Bot Service is listed (under both "Analytics" and "AI + Machine Learning"). "Azure Bot Service" is what appears on the invoice.
Finally, when you go to create a new resource and search for "bot" the only related items that you will see are for Azure Bot Service, there is no mention of Azure Bot Framework there either.
Bot Framework - is comprised of an open-source SDK and tools for end-to-end bot development.
Azure Bot Services - a cloud platform that hosts bots, helps you manage, connect, and deploy your bot across devices and popular channels
Bot Framework Service - a component of Azure Bot Service, that responsible to sending the info between the app and the channel
Microsoft Bot Service SDK