Save selected option of the list shown in Assistant - dialogflow-es

I am using the List rich response in my assistant action and what I want is to save the option selected by user on the front end only.I am using Firebase as my backend server but I don't want this user selected option to store in firebase but it should get persisted across messages just like contexts.
What are the probable options to implement this?
Also, I found this documentation where we can save the data in conversation, so can I use this feature? In which scenarios can we use this?
Thanks

You can save in parameters using context or in data if using only action-on-google client.
See my answer here

Related

changing the retryprompt at runtime in promptoptions

I want to change the retryprompt at runtime in promptoptions? The requirement is change the wording at runtime based on input given by user. Is it possible. Is there any way to send image in the dialog. I want to send image instead of text in promptoptions?
Thanks in advance.
You can refer the virtual assistant sample in which the same is implemented. The DefaultAdapter in the Virtual Assistant template provides a set of Middlewares out of the box including the following:
Show Typing Middleware - Sends typing indicators from the bot.
https://microsoft.github.io/botframework-solutions/virtual-assistant/handbook/activity-flow/

How To Change "Action and parameters", later on in your Google Action?

So I was using Gmail Google Action on my Assistant device and One thing that I found particularly intriguing was that when a user has given its message and email, after that assistant gives options for change or adding the message. That means on selecting those options, assistant will change the value of message entity or edit it as per user command, without re-enabling the whole intent.
My question is how can I implement this functionality in my Google Action. Is there any particular function made by Google that I can use or do I have to create one from scratch ?
Gmail's integration is a bit different than the way a third-party developer would do it, but you can save user input from the current session and modify it later on in your conversation. In your Action, this wouldn't be just one intent, but a few that would handle the work of modifying some session data and finally using that data to complete the user's original action.

Dialogflow Agent Conversation

Is there a way to get the Dialogflow agent's conversation history programmatically?
I made a chatbot using Dialogflow. Now I need to get the conversation history of my agent programmatically.
That feature (an important one) is not available yet.
Since there is not an API call to retrieve a history of conversation So, the only way I know how is to
Go to the Training tab and see the conversations that way, although it only gives the reply in the form of the intent, and not what the bot actually replied.
But if you want to access all conversations history then don't go for one-click integration make your own login system with Outh2 and integrate using Detect Intent Api and store your conversations by logs.
Then you can get conversation history programmatically.
You need to log all the requests by writing your own code if you want
to get the history.
Depends on what history u meant to fetch.
You can easily integrate your agent with google chatbase and you can get the conversation history pretty simple.
You don't need to write any programs and all.
Chatbase Automatically keeps track of history and user messages.
But it can only store history of past 30 days. :)
If you are using the NodeJS library, aling with Dialogflow, one option for you would be to save your conversation inside the user object. That way the data /conversation can be accessed by the user in future sessions.
Here's how I'll go about implementing this:
function saveConv(conv){
Conv.user.storage.convToSave = 'conversation_object'.
}
To access it I'll do:
function getSavedConv(conv){
var savedConv = conv.user.storage.convToSave.
}
Please let me know if this amswered your question.

Muliple choice option in skype channel botframework [node.js]

I'm searching solution form last week but no luck.
Can user select the multiple options in skype Nodejs SDK.
I'm looking for the solution where user can be able to select the more than one option from the choice list.
Let's say I wanted to implement the subscription functionality so the bot
will pass the list of items to Skype client to view user.
Choice List
From above Now I want to subscribe the more that one item form list Ex. (Computer, Tech, Gadgets)
Can anyone Please help me to achieve by aim. If not possible can you please give me the actual reason.
Thanks :)
The ability to select multiple items in a choice prompt is not currently an available feature of the BotBuilder SDK.
An alternate way to handle this scenario would be to guide the user through a series of choice prompts where they could add a new item to an internal data object, or alternately store it in the session.userData or session.conversationData object.
If you'd like to make a feature request you can email: feedback#botframework.com

Kentico forms disable the data capture and just send the notification

Is it possible to disable the data storage and just have the data sent with the notification email? I'm hoping to avoid writing custom code that will just send the form data as an email.
Some of what is being collected is confidential and there are worries about it being stored in the DB. I know, don't ask.
If you don't want to store data then you can set the field type to "Field without database representation" This will allow you to have a "placeholder" for that field and not store any data in the database without writing any code. This will work for v8 and v9 without issue, I'm not sure about v7.
You can use the Object Events and override the On Before Insert function. You will have to use that function to not save the data and handle the notification (not sure if the default notification would still fire or not, you might have to do it through code at that point). you should be able to do with e.Cancel or something like that.
You can read more about these events here: https://docs.kentico.com/display/K8/Reference+-+Global+system+events#Reference-Globalsystemevents-BizFormItemEvents and here: https://docs.kentico.com/display/K8/Handling+object+events

Resources