本文介绍了Dialogflow @ sys.email实体无法识别电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目的是希望用户提供他/她的电子邮件地址。

In my intent I am expecting the user to provide his/her email address.

我尝试使用 @ sys.email 实体来从培训短语中识别电子邮件,但未识别电子邮件地址。

I tried using @sys.email entity to identify the email from training phrases, but it is not identifying the email address.

可能是什么问题?当我搜索网络时,在某些Google网上论坛中看到了类似的问题,但找不到答案。

What could be the issue ? When I searched the web I saw similar question being asked in some Google Groups, but could not find the answer.

编辑:

以下是意图页面的屏幕快照,其中显示了训练短语和操作及参数:

Here is a screenshot the intent page showing Training Phrases and Actions and Parameter:

除了电子邮件的屏幕截图外,我还尝试了其他几种电子邮件ID(工作和个人),但均未识别出它们。

Other than the email's in screen shot I've tried with several other email id's, work and personal, It did not identify any of them.

推荐答案

感谢截图,我现在了解您的问题并能够重新创建它。

Thanks for the screenshot, I now understand your problem and was able to recreate it.

起初,我尝试了类似的方法,并添加了一些用户短语,但没有使用 @ sys.email 对其进行标记。 DialogFlow本身也无法对其进行标记,因此也无法提取电子邮件。

At first, I tried similar approach and added some user phrases but did not tag them with @sys.email. DialogFlow was also not able to tag them itself, and hence it is not able to extract emails as well.

之后,我手动标记了电子邮件地址使用 @ sys.email 从用户短语中删除,然后就可以正常工作。

After that, I manually tagged the email address from the user phrases with @sys.email and then it worked fine.

因此,用实体 @ sys.email 标记训练短语中的电子邮件地址,然后再试一次。

So, tag the email addresses in the training phrases with the entity @sys.email and try again. It should work.

希望它会有所帮助。

这篇关于Dialogflow @ sys.email实体无法识别电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 06:19