在Watson Conversation中请求两个或多个意图 [英] Request two or more intentions inside Watson Conversation

查看:94
本文介绍了在Watson Conversation中请求两个或多个意图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的谈话中有5个意图. 如果用户键入请求2个或多个意图,我如何知道他键入了两个意图,以及如何通知他一次只能请求一个意图?

I have 5 intents in my conversation. If user types for request 2 or more intents, how do I know that he has typed two intentions and how do I inform him that he can only request one intention at a time?

我的示例有2个意图,Watson不重新确定第二个意图:

我想要披萨,我想要美食

I want pizza and I want cuisine

意图#pizza:

  • 我要披萨

意图#cuisine:

  • 我要美食

谢谢.

推荐答案

Watson对话服务在处理输入文本时会评估您的所有意图.但是,默认情况下,它仅返回最高意图.正如Simon在这篇文章中指出的 Watson Conversation是否支持嵌套的Intent? 您可以访问所有意图的值.

The Watson Conversation Service evaluates all your intents when it process the input text. However, by default it only returns the highest value intent. As noted by Simon in this posting Watson Conversation supports nested Intents? you can access the values for all your intents.

这篇关于在Watson Conversation中请求两个或多个意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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