私の質問は、ユーザーが指定した値をエンティティに追加する方法です。ユーザーが指定した値は動的です。
添付の画像でわかるように、Watson の応答は、ユーザーが指定した値で toppings 変数を上書きします。
{
"output": {
"text": "I got an order to add one or more toppings.
Adding <?context.toppings.append('toppings')?>.
Toppings to provide: <?entities['toppings']?.toString()?>"
},
"context": {
"toppings": "<? entities['toppings']?.toString()?>"
}
}