简体   繁体   English

如何在Watson Assistant中解析首选名称?

[英]How to parse out a preferred name in Watson Assistant?

Watson asks "What is your name?" 沃森问:“你叫什么名字?” The user responds, "My friends call me Dick, my colleagues call me Richard, but you can call me Rich." 用户回答:“我的朋友叫我迪克,同事叫我理查德,但你可以叫我里奇。” or "I prefer Steve, but most people call me Steven." 或“我更喜欢史蒂夫,但大多数人都叫我史蒂文。” or "I prefer Bill over William and Will." 或“我更喜欢比尔而不是威廉和威尔。” How can I get Watson to recognize the preferred names of Rich, Steve, and Bill? 如何让Watson识别Rich,Steve和Bill的首选名称?

Easiest way. 最简单的方法。 Change your question to prompt a unique answer. 更改您的问题以提示唯一答案。

  • Can I have your first name please 请给我你的名字好吗
  • What is your last name? 你姓什么?
  • How would you like me to refer to you as? 您希望我如何称呼您?

Technical way you can try using NLU or contextual entities combined with @sys-name. 您可以尝试将NLU或上下文实体与@ sys-name结合使用的技术方法。 But the work involved will not be worth the trouble for something that may not happen. 但是,对于可能不会发生的事情,所涉及的工作将不值得为之烦恼。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM