|
7 | 7 | "Accept": "application/json, text/json",
|
8 | 8 | "Accept-Encoding": "gzip, deflate",
|
9 | 9 | "Connection": "keep-alive",
|
10 |
| - "Content-Length": "2177", |
| 10 | + "Content-Length": "2179", |
11 | 11 | "Content-Type": "application/json",
|
12 | 12 | "User-Agent": "azsdk-python-ai-textanalytics/5.2.0b3 Python/3.10.0 (Windows-10-10.0.22000-SP0)",
|
13 |
| - "x-ms-client-request-id": "25293ed1-5d0f-11ec-aac3-b831b58100e8" |
| 13 | + "x-ms-client-request-id": "6e622223-8b89-11ec-91fe-b831b58100e8" |
| 14 | + }, |
| 15 | + "RequestBody": { |
| 16 | + "tasks": { |
| 17 | + "entityRecognitionTasks": [], |
| 18 | + "entityRecognitionPiiTasks": [], |
| 19 | + "keyPhraseExtractionTasks": [], |
| 20 | + "entityLinkingTasks": [], |
| 21 | + "sentimentAnalysisTasks": [], |
| 22 | + "extractiveSummarizationTasks": [ |
| 23 | + { |
| 24 | + "parameters": { |
| 25 | + "stringIndexType": "UnicodeCodePoint" |
| 26 | + }, |
| 27 | + "taskName": "0" |
| 28 | + } |
| 29 | + ], |
| 30 | + "customEntityRecognitionTasks": [], |
| 31 | + "customSingleClassificationTasks": [], |
| 32 | + "customMultiClassificationTasks": [] |
| 33 | + }, |
| 34 | + "analysisInput": { |
| 35 | + "documents": [ |
| 36 | + { |
| 37 | + "id": "1", |
| 38 | + "text": "The government of British Prime Minster Theresa May has been plunged into turmoil with the resignation of two senior Cabinet ministers in a deep split over her Brexit strategy. The Foreign Secretary Boris Johnson, quit on Monday, hours after the resignation late on Sunday night of the minister in charge of Brexit negotiations, David Davis. Their decision to leave the government came three days after May appeared to have agreed a deal with her fractured Cabinet on the UK\u0027s post Brexit relationship with the EU. That plan is now in tatters and her political future appears uncertain. May appeared in Parliament on Monday afternoon to defend her plan, minutes after Downing Street confirmed the departure of Johnson. May acknowledged the splits in her statement to MPs, saying of the ministers who quit: We do not agree about the best way of delivering our shared commitment to honoring the result of the referendum. The Prime Minister\u0027s latest political drama began late on Sunday night when Davis quit, declaring he could not support May\u0027s Brexit plan. He said it involved too close a relationship with the EU and gave only an illusion of control being returned to the UK after it left the EU. It seems to me we\u0027re giving too much away, too easily, and that\u0027s a dangerous strategy at this time, Davis said in a BBC radio interview Monday morning. Johnson\u0027s resignation came Monday afternoon local time, just before the Prime Minister was due to make a scheduled statement in Parliament. This afternoon, the Prime Minister accepted the resignation of Boris Johnson as Foreign Secretary, a statement from Downing Street said.", |
| 39 | + "language": "en" |
| 40 | + }, |
| 41 | + { |
| 42 | + "id": "2", |
| 43 | + "text": "Microsoft fue fundado por Bill Gates y Paul Allen", |
| 44 | + "language": "es" |
| 45 | + } |
| 46 | + ] |
| 47 | + } |
14 | 48 | },
|
15 |
| - "RequestBody": "{\u0022tasks\u0022: {\u0022entityRecognitionTasks\u0022: [], \u0022entityRecognitionPiiTasks\u0022: [], \u0022keyPhraseExtractionTasks\u0022: [], \u0022entityLinkingTasks\u0022: [], \u0022sentimentAnalysisTasks\u0022: [], \u0022extractiveSummarizationTasks\u0022: [{\u0022parameters\u0022: {\u0022stringIndexType\u0022: \u0022UnicodeCodePoint\u0022}, \u0022taskName\u0022: \u00220\u0022}], \u0022customEntityRecognitionTasks\u0022: [], \u0022customSingleClassificationTasks\u0022: [], \u0022customMultiClassificationTasks\u0022: []}, \u0022analysisInput\u0022: {\u0022documents\u0022: [{\u0022id\u0022: \u00221\u0022, \u0022text\u0022: \u0022The government of British Prime Minster Theresa May has been plunged into turmoil with the resignation of two senior Cabinet ministers in a deep split over her Brexit strategy. The Foreign Secretary Boris Johnson, quit on Monday, hours after the resignation late on Sunday night of the minister in charge of Brexit negotiations, David Davis. Their decision to leave the government came three days after May appeared to have agreed a deal with herfractured Cabinet on the UK\u0027s post Brexit relationship with the EU. That plan is now in tatters and her political future appears uncertain. May appeared in Parliament on Monday afternoon to defend her plan, minutes after Downing Street confirmed the departure of Johnson. May acknowledged the splits in her statement to MPs, saying of the ministers who quit: We do not agree about the best way of delivering our shared commitment to honoring the result of the referendum. The Prime Minister\u0027s latest plitical drama began late on Sunday night when Davis quit, declaring he could not support May\u0027s Brexit plan. He said it involved too close a relationship with the EU and gave only an illusion of control being returned to the UK after it left the EU. It seems to me we\u0027re giving too much away, too easily, and that\u0027s a dangerous strategy at this time, Davis said in a BBC radio interview Monday morning. Johnson\u0027s resignation came Monday afternoon local time, just before the Prime Minister was due to make a scheduled statement in Parliament. This afternoon, the Prime Minister accepted the resignation of Boris Johnson as Foreign Secretary, a statement from Downing Street said.\u0022, \u0022language\u0022: \u0022en\u0022}, {\u0022id\u0022: \u00222\u0022, \u0022text\u0022: \u0022Microsoft fue fundado por Bill Gates y Paul Allen\u0022, \u0022language\u0022: \u0022es\u0022}]}}", |
16 | 49 | "StatusCode": 202,
|
17 | 50 | "ResponseHeaders": {
|
18 |
| - "apim-request-id": "a03b6b25-f013-4368-bd31-ad425c9179ac", |
19 |
| - "Date": "Tue, 14 Dec 2021 18:53:37 GMT", |
20 |
| - "operation-location": "https://fakeendpoint.cognitiveservices.azure.com/text/analytics/v3.2-preview.2/analyze/jobs/0a0d1391-60f6-4b43-8d4f-41abe9f6f861", |
| 51 | + "apim-request-id": "45d67f8b-1922-42c0-a6d6-7190deabb9e7", |
| 52 | + "Date": "Fri, 11 Feb 2022 22:24:52 GMT", |
| 53 | + "operation-location": "https://fakeendpoint.cognitiveservices.azure.com/text/analytics/v3.2-preview.2/analyze/jobs/ffafe0bd-e704-47e3-806d-cdcbdcf27232", |
21 | 54 | "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
|
22 | 55 | "Transfer-Encoding": "chunked",
|
23 | 56 | "X-Content-Type-Options": "nosniff",
|
24 |
| - "x-envoy-upstream-service-time": "217" |
| 57 | + "x-envoy-upstream-service-time": "149" |
25 | 58 | },
|
26 | 59 | "ResponseBody": null
|
27 | 60 | },
|
28 | 61 | {
|
29 |
| - "RequestUri": "https://fakeendpoint.cognitiveservices.azure.com/text/analytics/v3.2-preview.2/analyze/jobs/0a0d1391-60f6-4b43-8d4f-41abe9f6f861?showStats=True", |
| 62 | + "RequestUri": "https://fakeendpoint.cognitiveservices.azure.com/text/analytics/v3.2-preview.2/analyze/jobs/ffafe0bd-e704-47e3-806d-cdcbdcf27232?showStats=True", |
30 | 63 | "RequestMethod": "GET",
|
31 | 64 | "RequestHeaders": {
|
32 | 65 | "Accept": "*/*",
|
33 | 66 | "Accept-Encoding": "gzip, deflate",
|
34 | 67 | "Connection": "keep-alive",
|
35 | 68 | "User-Agent": "azsdk-python-ai-textanalytics/5.2.0b3 Python/3.10.0 (Windows-10-10.0.22000-SP0)",
|
36 |
| - "x-ms-client-request-id": "25293ed1-5d0f-11ec-aac3-b831b58100e8" |
| 69 | + "x-ms-client-request-id": "6e622223-8b89-11ec-91fe-b831b58100e8" |
37 | 70 | },
|
38 | 71 | "RequestBody": null,
|
39 | 72 | "StatusCode": 200,
|
40 | 73 | "ResponseHeaders": {
|
41 |
| - "apim-request-id": "3fa18449-f763-4f73-b925-eae5942bf462", |
| 74 | + "apim-request-id": "107fe20e-9cdf-4723-8766-128bad85a9b3", |
42 | 75 | "Content-Type": "application/json; charset=utf-8",
|
43 |
| - "Date": "Tue, 14 Dec 2021 18:53:42 GMT", |
| 76 | + "Date": "Fri, 11 Feb 2022 22:24:57 GMT", |
44 | 77 | "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
|
45 | 78 | "Transfer-Encoding": "chunked",
|
46 | 79 | "X-Content-Type-Options": "nosniff",
|
47 |
| - "x-envoy-upstream-service-time": "114" |
| 80 | + "x-envoy-upstream-service-time": "86" |
48 | 81 | },
|
49 | 82 | "ResponseBody": {
|
50 |
| - "jobId": "0a0d1391-60f6-4b43-8d4f-41abe9f6f861", |
51 |
| - "lastUpdateDateTime": "2021-12-14T18:53:41Z", |
52 |
| - "createdDateTime": "2021-12-14T18:53:37Z", |
53 |
| - "expirationDateTime": "2021-12-15T18:53:37Z", |
| 83 | + "jobId": "ffafe0bd-e704-47e3-806d-cdcbdcf27232", |
| 84 | + "lastUpdateDateTime": "2022-02-11T22:24:55Z", |
| 85 | + "createdDateTime": "2022-02-11T22:24:52Z", |
| 86 | + "expirationDateTime": "2022-02-12T22:24:52Z", |
54 | 87 | "status": "succeeded",
|
55 | 88 | "errors": [],
|
56 | 89 | "tasks": {
|
|
60 | 93 | "total": 1,
|
61 | 94 | "extractiveSummarizationTasks": [
|
62 | 95 | {
|
63 |
| - "lastUpdateDateTime": "2021-12-14T18:53:41.3509318Z", |
| 96 | + "lastUpdateDateTime": "2022-02-11T22:24:55.9540887Z", |
64 | 97 | "taskName": "0",
|
65 | 98 | "state": "succeeded",
|
66 | 99 | "results": {
|
|
74 | 107 | {
|
75 | 108 | "id": "1",
|
76 | 109 | "statistics": {
|
77 |
| - "charactersCount": 1625, |
| 110 | + "charactersCount": 1627, |
78 | 111 | "transactionsCount": 2
|
79 | 112 | },
|
80 | 113 | "sentences": [
|
|
91 | 124 | "length": 164
|
92 | 125 | },
|
93 | 126 | {
|
94 |
| - "text": "Their decision to leave the government came three days after May appeared to have agreed a deal with herfractured Cabinet on the UK\u0027s post Brexit relationship with the EU.", |
95 |
| - "rankScore": 0.47, |
| 127 | + "text": "Their decision to leave the government came three days after May appeared to have agreed a deal with her fractured Cabinet on the UK\u0027s post Brexit relationship with the EU.", |
| 128 | + "rankScore": 0.56, |
96 | 129 | "offset": 342,
|
97 |
| - "length": 171 |
| 130 | + "length": 172 |
98 | 131 | }
|
99 | 132 | ],
|
100 | 133 | "warnings": []
|
|
0 commit comments