首页 > 解决方案 > Dialogflow default date parameter

问题描述

I can't find any in the documentation, is there a way to set a parameter default value to a dynamic value like for example "today" ?

if as a default value I put "today" or "@sys.date" it is used as string, and not as the date value

标签: dialogflow-es

解决方案


不,您不能在 Dialogflow 中为参数设置动态默认值。正如您所怀疑的,您需要在后端实现此功能。

唯一可用于默认参数值的动态元素是从原始用户话语、上下文或复合实体中提取的


推荐阅读