File size: 3,662 Bytes
0827183
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
  "text": "buy hul and 2 items",
  "intents": {
    "Cancel": {
      "score": 0.006906527
    },
    "Delivery": {
      "score": 0.00567273
    },
    "EntityTests": {
      "score": 0.128755629
    },
    "Greeting": {
      "score": 0.00450348156
    },
    "Help": {
      "score": 0.00583425
    },
    "None": {
      "score": 0.0135525977
    },
    "Roles": {
      "score": 0.04635598
    },
    "search": {
      "score": 0.008885799
    },
    "SpecifyName": {
      "score": 0.00721160974
    },
    "Travel": {
      "score": 0.005146626
    },
    "Weather_GetForecast": {
      "score": 0.00913477
    }
  },
  "entities": {
    "$instance": {
      "number": [
        {
          "endIndex": 7,
          "modelType": "Prebuilt Entity Extractor",
          "recognitionSources": [
            "externalEntities"
          ],
          "startIndex": 4,
          "text": "hul",
          "type": "builtin.number"
        },
        {
          "endIndex": 13,
          "modelType": "Prebuilt Entity Extractor",
          "recognitionSources": [
            "model"
          ],
          "startIndex": 12,
          "text": "2",
          "type": "builtin.number"
        }
      ]
    },
    "number": [
      8,
      2
    ]
  },
  "sentiment": {
    "label": "positive",
    "score": 0.7149857
  },
  "v3": {
    "response": {
      "prediction": {
        "entities": {
          "$instance": {
            "number": [
              {
                "length": 3,
                "modelType": "Prebuilt Entity Extractor",
                "modelTypeId": 2,
                "recognitionSources": [
                  "externalEntities"
                ],
                "startIndex": 4,
                "text": "hul",
                "type": "builtin.number"
              },
              {
                "length": 1,
                "modelType": "Prebuilt Entity Extractor",
                "modelTypeId": 2,
                "recognitionSources": [
                  "model"
                ],
                "startIndex": 12,
                "text": "2",
                "type": "builtin.number"
              }
            ]
          },
          "number": [
            8,
            2
          ]
        },
        "intents": {
          "Cancel": {
            "score": 0.006906527
          },
          "Delivery": {
            "score": 0.00567273
          },
          "EntityTests": {
            "score": 0.128755629
          },
          "Greeting": {
            "score": 0.00450348156
          },
          "Help": {
            "score": 0.00583425
          },
          "None": {
            "score": 0.0135525977
          },
          "Roles": {
            "score": 0.04635598
          },
          "search": {
            "score": 0.008885799
          },
          "SpecifyName": {
            "score": 0.00721160974
          },
          "Travel": {
            "score": 0.005146626
          },
          "Weather.GetForecast": {
            "score": 0.00913477
          }
        },
        "normalizedQuery": "buy hul and 2 items",
        "sentiment": {
          "label": "positive",
          "score": 0.7149857
        },
        "topIntent": "EntityTests"
      },
      "query": "buy hul and 2 items"
    },
    "options": {
      "externalEntities": [
        {
          "entityLength": 3,
          "entityName": "number",
          "resolution": 8,
          "startIndex": 4
        }
      ],
      "includeAllIntents": true,
      "includeAPIResults": true,
      "includeInstanceData": true,
      "log": true,
      "preferExternalEntities": true,
      "slot": "production"
    }
  }
}