Google-Actions-Java-SDK
Google-Actions-Java-SDK copied to clipboard
saving context/session
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?
Hey, yes, indeed - it's all about pushing additional data via RootResponse/RootRequest
cool I'll see what I can get working and send a PR when I do
Hey @rvanderwerf, I know it's quite late but have you come up with that PR?
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.