I would like to build a simple Google Assistant Action with Dialogflow that lets users answer 10 questions and give them the result at the end.
My concept:
Ask 10 questions in total
If the answer is YES -> add +1 to the
counter
If the answer is NO -> add nothing
After 10 questions give a summary like "You answered 6 Questions with Yes.
Do I need to use the Firebase Cloud Function Fulfillment for that? Any feedback is really appreciated.
Yes, you need to use the Firebase Cloud Function Fulfillment to develop a function to get all the "yes" and "no", you can follow this tutorial and then change the Datastore insert part to count how many "yes" are.
You are not obligated to use the Firebase Cloud. You can use your own external https API connection to your own server where you could host all of your questions and answers.
Though in fact using the Firebase Cloud is easier to start with!
I am very new to GoA and Dialogflow development but i read in the docuentation that there is some kind of read/write storage thing available.
Yesterday i found out about JOVO and they even work with MongoDB or some other minimal stoarge solution - i still have not found out hwo they mange to put that inside an action, but it looks promising.
Related
I managed to create a chatbot using Azure with the QnA Maker service. Everything works fine and the bot responds to my questions if there is an answer set up already in my Knowledge base.
What I need to do now is to not let the client anything until a real assistant joins the chat to provide some answers. Bascially, I want the client to only communicate with the bot using premade questions. So if the user clicks on a question, it should follow a tree like structure to another question and so on. Something like this image:
I tried researching this and the only thing that I could find is a different Microsoft service that refers to some dialog flows, which is not really what I try to do since the bot is made in Javascript.
I want to make the simplest chatbot for searching the information much easier.
For example, if I ask John’s major, my chatbot will answer that it is Computer science. So simple.
But I found that if I want to make a chatbot which is answering based on database should through webhook thing, and It doesn’t sound easy for me.
Is there any other (easy) way to make chatbot based on excel data or send a query... or whatever databases..
I want to make this on dialogflow!
+If i use chatscript, webhook is not necessary?
You need a webhook to connect to your application which can do what you need.
You have 2 options in DialogFlow:
Webhook URL: to invoke your custom application (here you have all the flexibility you need: access Excel, compute a response, etc..)
Inline Editor: create a Cloud Function on Google Firebase (I have no experience but I expect you can do almost anything you need - check pricing as it is a cloud service)
Setup #1 is not difficult, the harder part is to manage/access the XLS file programmatically.
Best of luck,
Beppe
I went to this website: https://developer.twitter.com/en/application/use-case
They are asking a lot of details. So what would be the correct details to give to Twitter for recon-ng purposes?
Tell them what your app is going to do and take your best guess at what the other items mean. You're the only one who knows the correct answers. In recent years, there's been bad behavior on social media (including Twitter) by bots and other apps. They only want to make sure that people are using the service according to their terms of use.
First my apologies if this is a dumb question, or has been asked before. I've been searching for a couple of days and can't find an answer. This usually means I'm asking a dumb question. ;-)
I have a rPi and touchscreen in my kitchen; it displays helpful things like appointments for next 7 days, weather next 7 days, news headlines, etc. It's a web app I wrote in Angular 7, and it queries a NodeJS v8 backend which I also wrote. This was a hobby project to learn Angular and Node.
The Node app performs all interactions with the outside world, using Google's Calendar API to get appointments, Yahoo Weather API, newsapi.org. All of these integrations followed the same pattern -- obtain some apikey token, and use that when invoking some API method to get the requested data in a JSON wad.
Now, I would like to also get the grocery list from my Echo. After reviewing Amazon's Alexa API documentation, it doesn't appear that I can do this the same way as the previous three integrations I did. Must I really write a "skill" for this, though I never intend to invoke it on the Echo?
And if so, could you point to a decent sample? None of the samples provided by Amazon utilize the Lists API.
Yes, you must create a skill in order to receive access_token. And then - Out of Session Interaction feature might be useful.
I am utilising the small talk options within the chatbot that I currently use, however, I have noticed a couple of common questions which seem to be asked which fit into small talk, such as "What is your name?" and "What does you name mean?".
Is there any way in which I can add to the list of small talk questions? If not, how can I add these questions in with their responses? My issue is that I believe that you shall need a new intent for every question that gets asked? Any help would be appreciated.
Using a new intent for every question asked (or at least different versions of the same question with one answer) is the standard Dialogflow design and isn't really a problem.
The small talk functionality is just a big list of questions and answers in separate intents - you can see by looking at the pre built small talk agent through Prebuilt Agents -> Small Talk -> Import.
Therefore I would suggest to simply do it this way.
Initially, small-talk option had this issue which you specified here where users were not able to add more phrases to existing questions or add more questions.
To solve this issue, DialogFlow has introduced Small Talk Pre-built Agent.
There are approx 86 pre-built intents in the small-talk agent.
You can add/modify the phrases in those intents,
You can add/delete intents
You can modify the responses of these intents
To use small-talk agent, go to pre-built agents option in left menu, go to Small Talk agent, then import it.
Hope it helps.
I will suggest to use QnA maker service to achieve the functionality. Basically you have to create a QnA maker service and have to integrate to Bot. It will resolve your query. Please let us know if you need more information .
Regards,
Tharak