无法访问 Watson 对话的输入文本

Can not access input text of Watson conversation

我尝试按照此处所述访问用户的输入:http://www.ibm.com/watson/developercloud/doc/conversation/advanced_overview.shtml 基于汽车仪表板对话框。

{
  "output": {
    "text": "Great choice! Playing some @genre music for you.  <?input text?>"
  } 
}

错误:

Dialog node error Error when updating output with output of dialog node id:node_5_1469049934217. Fix the dialog node. Node output was:{"text":"Great choice! Playing some @genre music for you. "} org.springframework.expression.spel.SpelParseException: EL1041E:(pos 6): After parsing a valid expression, there is still more data in the expression: 'text'

要访问用户输入,您可以使用 input 对象。

例如:

<? input.text ?>;

以下帮助页面在 accessing inputs 下有更多详细信息。