dialogFlow @sys.number-sequence 仅适用于英语
dialogFlow @sys.number-sequence only works for English
我正在使用 dialogFlow 为 Google Assistant 构建一个 Action,它必须支持多种语言(EN、NL、FR)。
我有一个 PinIntent,我想在我的话语中使用 @sys.number-sequence
实体。
它适用于 EN 版本,但是当我对 NL 或 FR 使用相同的实体时,出现以下错误并且无法保存意图。
错误信息:
我不想使用 @sys.number
,如果密码是 0123
,它将 return 123
,这在我的 webhook 中不匹配。
我也不想用@sys.any
,这个基本上会听所有的输入...
是否有我可以根据其他实体创建自定义实体的教程?
例如。 @pincode
,将映射到 0000
、one two three four
、1 2 3 4
、one 2 34
、thousandtwohunderdthirtyfour
、...
谢谢
根据 the Dialogflow system entities documentation,@sys.number-sequence
目前在荷兰或法国不可用。关于这个问题:
Is there a tutorial where I can create a custom entity based on other entities? eg. @pincode, which will map to 0000, one two three four, 1 2 3 4, one 2 34, thousandtwohunderdthirtyfour,
这叫做composite entity。
我正在使用 dialogFlow 为 Google Assistant 构建一个 Action,它必须支持多种语言(EN、NL、FR)。
我有一个 PinIntent,我想在我的话语中使用 @sys.number-sequence
实体。
它适用于 EN 版本,但是当我对 NL 或 FR 使用相同的实体时,出现以下错误并且无法保存意图。
错误信息:
我不想使用 @sys.number
,如果密码是 0123
,它将 return 123
,这在我的 webhook 中不匹配。
我也不想用@sys.any
,这个基本上会听所有的输入...
是否有我可以根据其他实体创建自定义实体的教程?
例如。 @pincode
,将映射到 0000
、one two three four
、1 2 3 4
、one 2 34
、thousandtwohunderdthirtyfour
、...
谢谢
根据 the Dialogflow system entities documentation,@sys.number-sequence
目前在荷兰或法国不可用。关于这个问题:
Is there a tutorial where I can create a custom entity based on other entities? eg. @pincode, which will map to 0000, one two three four, 1 2 3 4, one 2 34, thousandtwohunderdthirtyfour,
这叫做composite entity。