API.AI 从参数中删除点

API.AI removes dots from parameters

如标题所述,api.ai 从参数中删除点。

例如,如果我写 "bla bla bla google.com",其中 "google.com" 映射到一个参数,该参数的值是 "google com",我找不到如何解决这个问题。我还写信给 api.ai 团队,暂时没有得到答复。

感谢任何帮助!谢谢!

感谢 api.ai 团队,我找到了解决方案。

Special symbols such as dots are removed from the resolved value.

To obtain value with dot you can:

  • use @sys.url for URL inputs in this case "google.com" will be returned with dot
  • create additional parameter and set $parameterName.original -> for this parameter you will get exact phrase entered by user including dots and other special symbols.

您可以在此处找到相关文档 https://docs.api.ai/docs/concept-actions#section-extracting-original-value

就我而言:

我把这个答案标记给其他有同样问题的人。