2016-09-04 10 views
1

車のダッシュボードのダイアログに基づいて、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'

+0

<?input_text?>で動作するため、ドキュメントを更新する必要があります – jpsstack

答えて

1

は、ユーザー入力にアクセスするには、あなたはinputオブジェクトを使用することができます。例えば

<? input.text ?>; 

次のヘルプページがaccessing inputsの下に詳細があります。

関連する問題