IBM Watson Assistant:如何确定Watson Assistant Actions中是否使用电话?

发布于 2025-01-22 15:32:34 字数 58 浏览 5 评论 0原文

如果用户在手机或网络上,我希望使用新操作,以便能够轻松过滤,以提供不同的响应。它没有设置此设置的选项。

Using the new actions I want to be able to easily filter if the user is on the phone or the web, to give different responses. It doesn't have an option to set this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寒尘 2025-01-29 15:32:34

您可以使用以下属性通过编辑JSON响应以每个通道具有不同的响应。

另外,还有上下文变量您可以在下面条件。

you can use the following attribute via editing the JSON response to have different responses per channel.

In addition there are context variables that you can condition upon.

≈。彩虹 2025-01-29 15:32:34

使用 v1 v1 loggging 您可以拉动用户和用户日志比较跨用户渠道的差异。

在使用电话时,在上下文对象中,该频道中需要许多变量。检查其中一个变量将允许您过滤。

对于新操作电话频道功能,如果使用以下有条件的条件将返回true。

context?.has("vgwSIPFromURI")

Using the V1 logging mechanism you can pull the user logs and compare differences across user channels.

In the context object when telephony is being used, there is a number of variables that are needed in that channel. Checking for one of those variables will allow you to filter.

For the new actions phone channel feature the following conditional will return true if it is being used.

context?.has("vgwSIPFromURI")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文