|
2
|
| Carlos Ferreira · 技术社区 · 8 年前 |
|
1
2
在对话中, you have access to all the entities that were detected (recognized) in the user input 。但是,您无权访问所有已定义的实体及其可能的值。 您可以使用允许的值定义一个上下文变量。该变量甚至可以动态填充(见下图) tutorial for database access from within Watson Assistant ).另一种选择是对响应进行硬编码。但这只适用于很少有价值和很少发生变化的情况。 |