最近我发现Dialogflow参数有问题 . 我有2个必需参数 sectorstockVolume 的意图 . sector 是定义实体, stockVolume@sys.number .

我意识到如果我只输入一个只有 stockVolume "A"的查询,它会提示 sector (这是正确的做法)

但是,如果下一个输入包含扇区和 stockVolume "B",则对话框流无法存储"B" . 参数将记录"A"和第二个输入中提供的 sector .

see pic for details

{  "responseId": "517fa3bc-d54b-4da6-a7fe-9bf1cbf10fe9", 
"queryResult": {
"queryText": "set stock volume for n09 to be 1287",
"parameters": {
  "sector": "N09",
  "stockVolume": "230000"
},
"allRequiredParamsPresent": true,
"fulfillmentText": "Sure! I will update N09's stock value to 230000*",
"fulfillmentMessages": [
  {
    "text": {
      "text": [
        "Sure! I will update N09's stock value to 230000*"
      ]
    }
  }
]