Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
5.1 kB
1
Indexable
Never
    {
          "__type": "com.amazonaws.deepsense.nlu.inference.fst#RecognizeRequest",
          "dialogHistory": {
             "__type": "com.amazonaws.deepsense.nlu.inference#DialogHistory",
             "activeContext": {},
             "events": [
                {
                   "__type": "UserEvent",
                   "eventTime": 1673623078.994,
                   "requestContext": {
                      "awsAccountId": "405422964464",
                      "doNotStore": false,
                      "eventId": "c81af994-4777-47a4-a557-a670f7896448",
                      "isLiveTraffic": false,
                      "locale": "en-US",
                      "utteranceTime": 1673623078.994
                   },
                   "resolutionContext": {},
                   "userInput": {
                      "inputType": "WrittenText",
                      "utteranceText": "Open a bank account in Seattle"
                   }
                },
                {
                   "__type": "AgentEvent",
                   "activeIntent": {
                      "__type": "SingleIntent",
                      "name": "getUserDetails",
                      "recognitionConfidence": {
                         "score": 1
                      },
                      "slots": [
                         {
                            "__type": "SingleValuedSlot",
                            "confirmationState": {
                               "confidence": {
                                  "score": 0
                               },
                               "status": "None"
                            },
                            "name": "city",
                            "resolutionResult": {
                               "itemizedResolutions": [],
                               "originalText": "Seattle",
                               "resolvedValue": "Seattle",
                               "slotValueType": "Single",
                               "subSlotResolutionsMap": {},
                               "tokens": [
                                  {
                                     "text": "seattle",
                                     "utteranceSpan": {
                                        "exclEndIndex": 30,
                                        "inclStartIndex": 23
                                     }
                                  }
                               ],
                               "topResolutions": [
                                  {
                                     "alexaCompatibleForm": "Seattle",
                                     "canonicalForm": "\"Seattle\"",
                                     "confidence": {
                                        "score": 1
                                     },
                                     "humanReadableForm": "Seattle",
                                     "shape": "Scalar",
                                     "source": "IndexSearch"
                                  }
                               ]
                            }
                         },
                         {
                            "__type": "SingleValuedSlot",
                            "name": "actNumber"
                         },
                         {
                            "__type": "SingleValuedSlot",
                            "name": "type"
                         },
                         {
                            "__type": "SingleValuedSlot",
                            "name": "bankcode"
                         }
                      ]
                   },
                   "eventTime": 1673623078.996,
                   "nextTurnDialogAct": {
                      "__type": "ElicitSlotDialogAct",
                      "dialogActSource": "DEEP_SENSE",
                      "slotName": "type"
                   },
                   "prompt": "what account type?"
                }
             ]
          },
          "fstBundleUri": "arn:aws:mass:us-west-2:405422964464:LEX/BUNDLE/NLU_8f5f8201-789e-4363-9812-c36cf62615a8_BotNluFstArtifact/$LATEST/1",
          "requestContext": {
             "__type": "com.amazonaws.deepsense.nlu.inference#RequestContext",
             "awsAccountId": "405422964464",
             "doNotStore": false,
             "eventId": "2fe0f9d6-e924-4f9e-b3e8-926cb2322c6f",
             "isLiveTraffic": false,
             "locale": "en-US",
             "utteranceTime": 1673623083.713
          },
          "tokenizedUtterance": {
             "__type": "com.amazonaws.deepsense.nlu.inference#TokenizedUtterance",
             "confidence": {
                "score": 1
             },
             "tokens": [
                {
                   "text": "savings",
                   "utteranceSpan": {
                      "exclEndIndex": 7,
                      "inclStartIndex": 0
                   }
                }
             ],
             "utteranceText": "Savings"
          }
       }