Problem using .recent attribute of sys.date parameter in Dialogflow

核能气质少年 提交于 2019-12-11 04:04:55

问题


I have question regarding Intent configuration in Dialogflow.

I've found information on StackOverflow regarding ".recent" attribute of sys.date parameter.

The idea is that using value from that attribute gives a date that happened in the past (i.e. "Monday" will be translated to last Monday, not next Monday).

I've encountered a problem when using it with required parameters. The result in date interpretation differs depending on the input:

  • has the user provided all required parameters at once
  • user has been prompted to deliver missing ones.

Please find example below - notice different dates returned for the same input

Intent configuration

Behavior

Questions:

  1. Do you know what may be the problem here? It seems like a bug for me
  2. I've searched and I have not been able to find documentation on Dialogflow's or Google's sites regarding ".recent" - do you know where I can find it?

来源:https://stackoverflow.com/questions/56853343/problem-using-recent-attribute-of-sys-date-parameter-in-dialogflow

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!