仅在会话期间对Google userStorage进行操作 [英] actions on google userStorage only during session

查看:55
本文介绍了仅在会话期间对Google userStorage进行操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于某些用户,google userStorage对象上的操作仅在会话期间存在。当下一个启动请求到来时,它消失了(不在传入的json中)。我用一个新的用户ID重新创建它-会话期间一切正常,然后丢失了存储状态,因为我必须生成一个新的用户ID。对于大多数用户来说,它工作正常。

For certain users, the actions on google userStorage object lives only during sessions. When the next launch request comes, it disappears (it's not in the incoming json). I recreate it with a new user id - everything is fine during the session, then I lose the stored state because I have to generate a new user id. For most of the users it works fine.

我在设备设置中缺少什么吗?语音识别?

Am I missing something in the device setup? Voice identification? We are using DialogFlow but I don't think it is relevant.

推荐答案

这些用户启用了 Web& 活动中心和包含Chrome历史记录设置。 >?
如果未启用这些设置,则用户存储将不会继续进行下一次对话,并且您保存的所有内容都会丢失。

Have those users enabled the Web & Activity setting and the include chrome history setting in the activity center? If these settings are not enabled the user storage won't persist to the next conversation and anything that you save will be lost.

这篇关于仅在会话期间对Google userStorage进行操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆