-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFHL.postman_collection.json
420 lines (420 loc) · 14.1 KB
/
FHL.postman_collection.json
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
{
"info": {
"_postman_id": "c9a31a2c-7eb3-4373-8b54-c8b316b4ac1a",
"name": "FHL",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "20898201"
},
"item": [
{
"name": "InstructGPT",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:31682/api/Chatbot?type=question&question= I can't access my vm is there an outage?",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
],
"query": [
{
"key": "type",
"value": "question"
},
{
"key": "question",
"value": " I can't access my vm is there an outage?"
}
]
}
},
"response": [
{
"name": "custom endpoint",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:31682/api/Chatbot?type=question&question=The%20user%20says%20I%20can%27t%20access%20my%20VM%20is%20there%20an%20outage",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
],
"query": [
{
"key": "type",
"value": "question"
},
{
"key": "question",
"value": "The%20user%20says%20I%20can%27t%20access%20my%20VM%20is%20there%20an%20outage"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "plain",
"header": [
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
},
{
"key": "Date",
"value": "Wed, 07 Dec 2022 18:59:11 GMT"
},
{
"key": "Server",
"value": "Kestrel"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [],
"body": "?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access my VM is there an outage?\n\nThe user says I can't access"
}
]
},
{
"name": "InstructGPT",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"type\": \"question\", \"question\": \"what is a monkey\"}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:31682/api/Chatbot",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
]
}
},
"response": [
{
"name": "custom endpoint",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"type\": \"question\", \"question\": \"what is a monkey\"}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:31682/api/Chatbot",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "plain",
"header": [
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
},
{
"key": "Date",
"value": "Wed, 07 Dec 2022 19:16:13 GMT"
},
{
"key": "Server",
"value": "Kestrel"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [],
"body": " wrench?”\n\n“A monkey wrench is a tool used to tighten or loosen nuts and bolts.”\n\n“What is a wrench?”\n\n“A wrench is a tool used to tighten or loosen nuts and bolts.”\n\n“What is a nut?”\n\n“A nut is a round object that is used to hold two pieces of metal together.”\n\n“What is a bolt?”\n\n“A bolt is a long, thin object that is used to hold two pieces of metal together.”\n\n“What is a screwdriver?”\n\n“A screwdriver is a tool used to tighten or loosen screws.”\n\n“What is a screw?”\n\n“A screw is a small, round object that is used to hold two pieces of metal together.”\n\n“What is a wrench?”\n\n“A wrench is a tool used to tighten or loosen nuts and bolts.”\n\n“What is a nut?”\n\n“A nut is a round object that is used to hold"
}
]
},
{
"name": "ChatGPT",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:31682/api/Chatbot?type=question&question=The%20user%20says%20I%20can%27t%20access%20my%20VM%20is%20there%20an%20outage",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
],
"query": [
{
"key": "type",
"value": "question"
},
{
"key": "question",
"value": "The%20user%20says%20I%20can%27t%20access%20my%20VM%20is%20there%20an%20outage"
}
]
}
},
"response": [
{
"name": "custom endpointV2",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:5000/api/Chatbot?type=question&question=I don't see my affected resource is there an outage? can you give me an arg query?",
"protocol": "http",
"host": [
"localhost"
],
"port": "5000",
"path": [
"api",
"Chatbot"
],
"query": [
{
"key": "type",
"value": "question"
},
{
"key": "question",
"value": "I don't see my affected resource is there an outage? can you give me an arg query?"
}
]
}
},
"_postman_previewlanguage": null,
"header": null,
"cookie": [],
"body": "{\r\n \"conversation_id\": \"57030f84-4d43-4dec-bc11-c23ac9a62427\",\r\n \"message\": \"To check if there is an outage affecting the user's resource, the user can try the following steps:\\n\\n1. Open the Azure portal and navigate to the Service Health blade.\\n\\n2. In the Service Health blade, select the 'Service Issues' tab to see a list of known outages and service disruptions.\\n\\n3. If there are no known outages or service disruptions listed, the user can try using the Azure Resource Graph (ARG) query provided in the previous solution to search for any active service health events that might be impacting their subscriptions. The query is:\\n\\nServiceHealthResources\\n| where type =~ 'Microsoft.ResourceHealth/events'\\n| extend eventType = tostring(properties.EventType), status = properties.Status, description = properties.Title, trackingId = properties.TrackingId, summary = properties.Summary, priority = properties.Priority, impactStartTime = properties.ImpactStartTime, impactMitigationTime = todatetime(tolong(properties.ImpactMitigationTime))\\n| where properties.Status == 'Active' and tolong(impactStartTime) > 1\\n| summarize count(subscriptionId) by name, eventType\\n\\nThis query searches for active service health events that might be impacting the user's subscriptions. It provides information about the event type, status, description, tracking ID, summary, priority, impact start time, and impact mitigation time. This can help the user identify any outages or other disruptions that might be affecting their resource.\\n\\n4. If the user still does not see their affected resource and cannot find any relevant service health events, they can contact Azure support for further assistance.\",\r\n \"parent_id\": \"1901efe9-380e-4e99-a369-7c2862cbcf9b\"\r\n}"
}
]
},
{
"name": "ChatGPT",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"type\": \"question\", \"question\": \"what is a monkey\"}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:31682/api/Chatbot",
"protocol": "http",
"host": [
"localhost"
],
"port": "31682",
"path": [
"api",
"Chatbot"
]
}
},
"response": [
{
"name": "custom endpointV2",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "question",
"value": "I don't see my affected resource is there an outage? can you give me an arg query?",
"type": "text"
}
],
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:5000/api/Chatbot",
"protocol": "http",
"host": [
"localhost"
],
"port": "5000",
"path": [
"api",
"Chatbot"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "Werkzeug/2.2.2 Python/3.10.4"
},
{
"key": "Date",
"value": "Thu, 08 Dec 2022 19:32:57 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1296"
},
{
"key": "Connection",
"value": "close"
}
],
"cookie": [],
"body": "{\n \"conversation_id\": \"4ce282f3-328f-4424-9b28-abdf478c5074\",\n \"message\": \"To find out if your Azure resource is experiencing an outage, you can use the Azure Resource Graph query provided in Solution 1. This query will show any service health events that are impacting your Azure subscriptions. Here is the query again:\\n\\nServiceHealthResources\\n| where type =~ 'Microsoft.ResourceHealth/events'\\n| extend eventType = tostring(properties.EventType), status = properties.Status, description = properties.Title, trackingId = properties.TrackingId, summary = properties.Summary, priority = properties.Priority, impactStartTime = properties.ImpactStartTime, impactMitigationTime = todatetime(tolong(properties.ImpactMitigationTime))\\n| where properties.Status == 'Active' and tolong(impactStartTime) > 1\\n| summarize count(subscriptionId) by name, eventType\\n\\nTo run this query, you can use the Azure Cloud Shell or the Azure Portal. The query will return a list of service health events that are currently impacting your subscriptions, along with the event type, status, description, tracking ID, summary, priority, impact start time, and impact mitigation time. This will help you determine if your affected resource is experiencing an outage.\\n\\n\",\n \"parent_id\": \"be58ee2b-abba-4704-a75d-c0a28a97a20e\"\n}"
},
{
"name": "ChatGPT Copy 2",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "question",
"value": "I cannot acces my VM is there an outage? can you provide an ARG query",
"type": "text"
}
],
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:5000/api/Chatbot",
"protocol": "http",
"host": [
"localhost"
],
"port": "5000",
"path": [
"api",
"Chatbot"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "Werkzeug/2.2.2 Python/3.10.4"
},
{
"key": "Date",
"value": "Thu, 08 Dec 2022 19:50:25 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1239"
},
{
"key": "Connection",
"value": "close"
}
],
"cookie": [],
"body": "{\n \"conversation_id\": \"dbdd23bb-756e-49cf-b251-879458b61fc3\",\n \"message\": \"To check for active events that might be impacting your subscriptions, you can use the following Azure Resource Graph query:\\n\\nServiceHealthResources\\n| where type =~ 'Microsoft.ResourceHealth/events'\\n| extend eventType = tostring(properties.EventType), status = properties.Status, description = properties.Title, trackingId = properties.TrackingId, summary = properties.Summary, priority = properties.Priority, impactStartTime = properties.ImpactStartTime, impactMitigationTime = todatetime(tolong(properties.ImpactMitigationTime))\\n| where properties.Status == 'Active' and tolong(impactStartTime) > 1\\n| summarize count(subscriptionId) by name, eventType\\n\\nThis query will return a list of active events and their associated event types, which can help you determine whether an outage is affecting your ability to access your VM. If the query does not return any results, it is possible that there was an outage that has already been resolved, or that there is an outage that has not yet been posted. In either case, you can check the Azure Service Health page on the Azure status website for more information.\",\n \"parent_id\": \"af04ed57-908c-4173-b2c1-36f20bf41931\"\n}"
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "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",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}