What happens if a bot is not able to answer? - chatbot

In the main QnA website, if I make a question which has no answer, I get an answer as:
I don’t have an answer for that. Try typing MENU to go back to the main menu
That's ok, because sometimes the knowledge database is still in the learning stage. But how can I access these questions that have no answer so that I can improve my bot?

As the docs for QnA Maker say,
QnA Maker stores all chat logs and other telemetry, if you have
enabled App Insights during the creation of your QnA Maker service.
Run the sample queries to get your chat logs from App Insights.
See Analytics on your knowledge base for details on how to implement and run queries on the analytics gathered.

Related

Save ConversationReference on database

I'm creating a Teams bot to send proactive messages and I should save the ConversationReference on the database but my question is how?
Should I save the whole object or just some proprieties?
I'm using Postgres for the database and I'm build the bot in Java.
You actually don't need the entire ConversationReference. There are a few ways to implement Proactive Messaging, and the most simple requires only a conversation Id and a Service Url. Please see this other answer I posted a few months ago, where I reference some sample code and a video from a talk I gave, which both go into more detail. The samples I link to there are in node and C#, so not Java directly, but you should be able to get a good start between those two.

Accessing Walmart API and setting up product mapping

To start: I'm completely new to working with APIs, so please bear with me.
My first question is related to getting access to the Walmart API. I see the example code to generate time stamp and signature. How do I run this file? I've looked at YouTube videos, the Walmart tutorial, and other posts in this forum and am still a little stuck.
Second, I'm guessing this file needs to be included in the actual application to continue to be able to access the products?
Third, my goal is to map only a subset of the product catalog for users of the app to view. Let's use 'soda' as an example. Is it the Taxonomy API I need to use? And how do I limit the available products a user can search?
Note: This will be implemented in a Flutter application, if it makes any difference.

Allowing user to sign in with two google account in flutter

How can I request users access to two google account simultaneously in flutter?
I have been looking solution for a long time but could not find any. There are few answers available on the internet which suggest using two different projects. But, I doubt that this solution is practical as we need google verification while publishing the app.
And to extend this question a bit further, can we do the same for outlook?
For those who did not get the question
The way Salesforce has both personal and team inbox, how can I implement the same in flutter.
I believe we lack package to solve this problem.
Here is a resource that can be helpful.
https://developers.google.com/identity/protocols/oauth2/native-app
To keep listening to local web server, you can create HTTPServer

How to get the Google ad manager impression of a placement using api (PHP)?

I am able to connect with my ad manager account using Google Ad Manager API (https://github.com/googleads/googleads-php-lib/tree/master/examples/AdManager). I am getting data i.e all companies, all placement on my command line. But confused on getting impressions.
How to get an impression of a placement?
First, you will need a query. Using the UI is the easiest way to build a query, and see the results. Here's the guide from Google to create a query on the UI.
Then, you will save the query and follow the ReportService/RunSavedQuery.php example to download the impression report in your program.
Please note that the examples are removed every 4 quarters and replaced by newer examples. So, if the example link above doesn't work, the example might have been replaced with a newer one.
This question is not a PHP specific question. Indeed, it is a "how to use the product" question, and is best suitable to be answered on the Google Ad Manager product forum. If you raise a question on the forum, the support staff may get back to you on a secured channel to help you build the query.

How to build gmail chat bot?

I want to build an simple gmail chat bot.
The bot reads the chat messsage of the recipient and responds it..
I have developed the logic for response to the message
but now im stuck with the bot configuration.
How to setup a gmail bot which can receive the message from chat window and give the message to me . and reply my message back to the person in chat ?
note: this question may seem duplicate but i have tried every solution to previous question i am unable to find a complete solution from scratch anywhere.
Hope any when can help me here.
You need to use the Google Talk API. More information can be found here. I have never used it before, but from what I read, you need to have to write your logic in a compatible language to interface with the API and build up from there. Very standard Google API docs, help, etc in the link.
If you know Python there is a library built for this purpose, bot allow developers to quickly and easily deploy bots. I highly recommend you use that. If you don't know Python, there is anoter guide here that explains how to do it with very minimal PHP/Perl code. If you don't know PHP or Perl, there is another resource here that explains how to do it in Node.js. IF you don't know Javascript, here is how to do it in Java.
I don't like publishing links to guides, but the API document should have been enough. These were all found with the Google search term "make a google talk bot".