· 5 years ago · Jul 06, 2020, 07:16 PM
1"alias": "bot alias",
2 "version": "bot version"
3 },
4 "userId": "User ID specified in the POST request to Amazon Lex.",
5 "inputTranscript": "Text used to process the request",
6 "invocationSource": "FulfillmentCodeHook or DialogCodeHook",
7 "outputDialogMode": "Text or Voice, based on ContentType request header in runtime API request",
8 "messageVersion": "1.0",
9 "sessionAttributes": {
10 "key": "value",
11 "key": "value"
12 },
13 "requestAttributes": {
14 "key": "value",
15 "key": "value"
16 },
17 "recentIntentSummaryView": [
18 {
19 "intentName": "Name",
20 "checkpointLabel": Label,
21 "slots": {
22 "slot name": "value",
23 "slot name": "value"
24 },
25 "confirmationStatus": "None, Confirmed, or Denied (intent confirmation, if configured)",
26 "dialogActionType": "ElicitIntent, ElicitSlot, ConfirmIntent, Delegate, or Close",
27 "fulfillmentState": "Fulfilled or Failed",
28 "slotToElicit": "Next slot to elicit"
29 }
30 ],
31 "sentimentResponse": {
32 "sentimentLabel": "sentiment",
33 "sentimentScore": "score"
34 },
35 "kendraResponse": {
36 Complete query response from Amazon Kendra
37 }
38}