通过Google DialogFlow的实体检测详细信息
我与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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过相当彻底的调查,我得出的结论是,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.