I have following requirement. I'm retrieving data (large) from database based on certain parameters.Assume that the data belongs to particular employee of organization and the data includes his contact address,education,work experiences.I queried the entire employee object first time and only returned name of the employee and then re-prompt for additional information. In this case if user answered to give additional data without retrieving the employee data from database again ,can we put the previously fetched data into cache and for the further data required on the same employee retrieve data from cache. If so how can we achieve that.
1.User says Alexa Open Master Book
2.User says Alexa tell me about Employee number 101
3.Intent invoked and queried database for employee number 101.
4.Alexa replays employee name and asks question to the user for more information for that employee
5.User say "yes"
Instead of triggering another Intent to query more data of the same employee can we get the data from (step 3 response -put the response into cache) already fetched results.
6.Retrieve data from cache(which got created in step 3) and send employee address
7.Alexa replays employee address and asks question to the user for more information for that employee
8.User say "yes"
9.Retrieve data from cache(which got created in step 3) and send employee education details
10.Alexa replays employee education detailsand asks question to the user for more information for that employee