如何在Watson Conversation中进行个性化问候? [英] How to give personalised greeting in Watson Conversation?

查看:79
本文介绍了如何在Watson Conversation中进行个性化问候?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Watson对话中定义对话框时,我无法用他/她的名字向用户打招呼,或者我无法检测到用户发送的联系电话并将其改写给用户.是否可以在Watson Conversation Api中进行此操作.

While Defining the Dialog in the Watson Conversation I'm not able to greet user with his/her name or I'm not able to detect contact number sent by the user and rephrase it to the user. Is it possible to do it in the Watson Conversation Api or not.

推荐答案

您已经可以访问此信息吗?您可以通过上下文发送这些值,并使用$ context_variable引用它们. 从用户收集信息也是如此.您可以通过应用程序使用正则表达式或使用某些Spring Expressions捕获内容,可以在此处看到文本. https://www.ibm.com/watson/developercloud/doc/conversation /dialog_reference.shtml 您可以将其存储为上下文,然后再次使用$ context_variable对其进行引用. 诸如姓名和电话号码之类的信息是开放式的,因此如果不使用开放的实体提取引擎就很难捕获它,我们正在研究将其合并的最佳方法.

Do you already have access to this information? You can send these values through as context, and refer to them using $context_variable The same goes for collecting information from a user. You can capture things using regular expressions via your application, or using some Spring Expressions, you can see the text.matches here: https://www.ibm.com/watson/developercloud/doc/conversation/dialog_reference.shtml You would store this as context, and then refer to it using $context_variable again. Information like names and phone numbers is quite open ended, so can be difficult to capture without using an open entity extraction engine, which we are researching best ways to incorporate this.

这篇关于如何在Watson Conversation中进行个性化问候?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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