DialogFlow V2用户ID? [英] DialogFlow V2 user id?

查看:84
本文介绍了DialogFlow V2用户ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在不要求用户连接其Google帐户的情况下跟踪会话之间的用户ID?就像一个匿名的userId。我在文档中没有看到任何ID字段: https://dialogflow.com/docs/fulfillment# request

Is there a way to track user Id between conversations without requiring the user to connect their Google account? Like an anon userId. I don't see any id field in the docs: https://dialogflow.com/docs/fulfillment#request

推荐答案

根据最新用法, conv.user.id为 DEPRECATED :改为使用conv.user.storage存储数据

According to the latest usage, conv.user.id is DEPRECATED: Use conv.user.storage to store data instead

有关更多详细信息,请参见囚犯的答案

For more details, have a look at this answer by Prisoner.

这篇关于DialogFlow V2用户ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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