Google-Actions-Java-SDK icon indicating copy to clipboard operation
Google-Actions-Java-SDK copied to clipboard

saving context/session

Open rvanderwerf opened this issue 8 years ago • 4 comments

I'd love to help send a PR for saving session/context info. It seems like the node sdk has ActionsSdkAssistant which the java one doesn't have. I am guessing the best place to put this is into the RootResponse/RootRequest objects. In the end it's just a map of values you pass back to google and they pass those back to you correct?

rvanderwerf avatar May 08 '17 03:05 rvanderwerf

Hey, yes, indeed - it's all about pushing additional data via RootResponse/RootRequest

frogermcs avatar May 09 '17 06:05 frogermcs

cool I'll see what I can get working and send a PR when I do

rvanderwerf avatar May 09 '17 23:05 rvanderwerf

Hey @rvanderwerf, I know it's quite late but have you come up with that PR?

DroidPulkit avatar Apr 06 '18 23:04 DroidPulkit

Unfortunately I didn't. I just ended up using a database to store my conversation context. I think they deprecated sessions that come along the request anyways. There are so many issues with the action sdk it's not worth going forward, even google isn't. Dialogflow.com is what is recommended now and fully integrated with Google now. They have a java lib, I also made a Grails plugin to make it easier too on my github account.

rvanderwerf avatar Apr 06 '18 23:04 rvanderwerf