Created
February 15, 2017 10:26
-
-
Save ghorvat/734ccb6a86bf70eaeabe3768b81ababc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "d887c4ee-5068-4c96-9b8f-f0dc0a6ba7b1", | |
"timestamp": "2017-02-14T21:08:33.771Z", | |
"lang": "en", | |
"result": { | |
"source": "agent", | |
"resolvedQuery": "shoes", | |
"action": "order.product", | |
"actionIncomplete": true, | |
"parameters": { | |
"color": "", | |
"product_type": "shoes", | |
"qty": "", | |
"size": "" | |
}, | |
"contexts": [ | |
{ | |
"name": "addtocart_dialog_context", | |
"parameters": { | |
"size.original": "", | |
"product_type": "shoes", | |
"size": "", | |
"color": "", | |
"qty.original": "", | |
"qty": "", | |
"product_type.original": "shoes", | |
"color.original": "" | |
}, | |
"lifespan": 2 | |
}, | |
{ | |
"name": "efd238d4-c627-4ab2-94f8-48d794c0d844_id_dialog_context", | |
"parameters": { | |
"size.original": "", | |
"product_type": "shoes", | |
"size": "", | |
"color": "", | |
"qty.original": "", | |
"qty": "", | |
"product_type.original": "shoes", | |
"color.original": "" | |
}, | |
"lifespan": 2 | |
}, | |
{ | |
"name": "addtocart_dialog_params_size", | |
"parameters": { | |
"size.original": "", | |
"product_type": "shoes", | |
"size": "", | |
"color": "", | |
"qty.original": "", | |
"qty": "", | |
"product_type.original": "shoes", | |
"color.original": "" | |
}, | |
"lifespan": 1 | |
} | |
], | |
"metadata": { | |
"intentId": "efd238d4-c627-4ab2-94f8-48d794c0d844", | |
"webhookUsed": "true", | |
"webhookForSlotFillingUsed": "false", | |
"intentName": "AddToCart" | |
}, | |
"fulfillment": { | |
"speech": "What size is that?", | |
"productName": "Test product", | |
"productDescription" : "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.", | |
"ProductImage": "http://placehold.it/350x350" | |
"messages": [ | |
{ | |
"type": 0, | |
"speech": "What size is that?" | |
} | |
] | |
}, | |
"score": 0.94 | |
}, | |
"status": { | |
"code": 200, | |
"errorType": "success" | |
}, | |
"sessionId": "411151471114081884588887611418487755" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment