通过Google DialogFlow的实体检测详细信息

发布于 2025-02-06 22:45:58 字数 287 浏览 2 评论 0原文

我与IBM的Watson Assistant实施了一个机器人,以解决并为Sudoku拼图提供输入矩阵的解决方案提示。我正在使用Google DialogFlow ES重新实现此功能。对于提示,您可以按行和列中的单元格中的值询问值,也可以询问给定单元格中的值是否为x。该机器人可以处理基本数字和序数。因为输入可以先行或列首先出现,并且可以先用可能的单元格值(是第一行中的5个值)或最后一列(是倒数第二列第5 6)的答案(我需要知道在哪里输入文本中检测到实体以确定实体的顺序。助理API给了我此信息,但是我无法确定如何从对话流API中获取此信息。有办法得到这个吗?

I implemented a bot with IBM's Watson Assistant to solve and provide solution hints to a Sudoku puzzle provided the input matrix. I'm in the process of re-implementing this with Google DialogFlow ES. For hints you can ask for the value in a cell by row and column or you can ask if a the value in a given cell is x. The bot can handle both cardinal and ordinal numbers. Because the input can come row first or column first and can be asked with the possible cell value first (is 5 the value in the first row last column) or last (is the answer to penultimate column row 5 6) I need to know where the in the input text the entity was detected in order to determine the order of the entities. The Assistant API gives me this information, but I've been unable to determine how to get this info from the DialogFlow API. Is there a way to get this?

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

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

发布评论

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

评论(1

原谅过去的我 2025-02-13 22:45:58

经过相当彻底的调查,我得出的结论是,Google DialogFlow将确定一个实体,但不会返回有关在文本响应中找到该实体的位置的信息。我认为这是一个非常严重的限制。

After a pretty thorough investigation, I've concluded that Google DialogFlow will identify an entity, but will not return information regarding where the entity was found in the text response. I think this is a pretty serious limitation.

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