loop
conversation_start
- response
{
"context": {
"c": 0,
"aa": [],
"qq": [
{
"key": "name",
"type": "what",
"label": "名前",
"value": ""
},
{
"key": "price",
"type": "howmuch",
"label": "値段",
"value": ""
},
{
"key": "location",
"type": "where",
"label": "場所",
"value": ""
}
]
},
"output": {}
}
loop_condition
- condition
$c < context.qq.size()
- response
<? $qq.get($c).label ?> ?
loop_next
- response
{
"context": {
"c": "<? $c+1 ?>"
},
"output": {}
}
else
- response
finished! <? context.aa ?>