Skip to content

Commit fe1f0b5

Browse files
authored
[text analytics] rerecord (Azure#18731)
1 parent ffea1ef commit fe1f0b5

File tree

539 files changed

+4377
-5637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+4377
-5637
lines changed

sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_key_phrase_task.yaml

+29-97
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ interactions:
1818
Content-Type:
1919
- application/json
2020
User-Agent:
21-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
21+
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit)
2222
method: POST
23-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze
23+
uri: https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze
2424
response:
2525
body:
2626
string: ''
2727
headers:
2828
apim-request-id:
29-
- 2a710a78-1e56-4d4d-b4c4-8b1325e8626c
29+
- 279238e1-1b70-40e8-a063-51b1f94700b0
3030
date:
31-
- Sat, 08 May 2021 06:47:14 GMT
31+
- Thu, 13 May 2021 22:35:10 GMT
3232
operation-location:
33-
- https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1
33+
- https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/bd639c0e-fa3e-45ae-8632-369fc0914c14
3434
strict-transport-security:
3535
- max-age=31536000; includeSubDomains; preload
3636
transfer-encoding:
3737
- chunked
3838
x-content-type-options:
3939
- nosniff
4040
x-envoy-upstream-service-time:
41-
- '5269'
41+
- '96'
4242
status:
4343
code: 202
4444
message: Accepted
@@ -52,27 +52,27 @@ interactions:
5252
Connection:
5353
- keep-alive
5454
User-Agent:
55-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
55+
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit)
5656
method: GET
57-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
57+
uri: https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/bd639c0e-fa3e-45ae-8632-369fc0914c14?showStats=True
5858
response:
5959
body:
60-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:20Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
60+
string: '{"jobId":"bd639c0e-fa3e-45ae-8632-369fc0914c14","lastUpdateDateTime":"2021-05-13T22:35:13Z","createdDateTime":"2021-05-13T22:35:10Z","expirationDateTime":"2021-05-14T22:35:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-13T22:35:13Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
6161
headers:
6262
apim-request-id:
63-
- 4aa7df3e-3f9a-490e-8bf4-aef062c6293c
63+
- 1c0468e7-2afa-4267-a3a7-276725e6a2cc
6464
content-type:
6565
- application/json; charset=utf-8
6666
date:
67-
- Sat, 08 May 2021 06:47:22 GMT
67+
- Thu, 13 May 2021 22:35:15 GMT
6868
strict-transport-security:
6969
- max-age=31536000; includeSubDomains; preload
7070
transfer-encoding:
7171
- chunked
7272
x-content-type-options:
7373
- nosniff
7474
x-envoy-upstream-service-time:
75-
- '2539'
75+
- '6'
7676
status:
7777
code: 200
7878
message: OK
@@ -86,53 +86,19 @@ interactions:
8686
Connection:
8787
- keep-alive
8888
User-Agent:
89-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
89+
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit)
9090
method: GET
91-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
91+
uri: https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/bd639c0e-fa3e-45ae-8632-369fc0914c14?showStats=True
9292
response:
9393
body:
94-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:20Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
94+
string: '{"jobId":"bd639c0e-fa3e-45ae-8632-369fc0914c14","lastUpdateDateTime":"2021-05-13T22:35:13Z","createdDateTime":"2021-05-13T22:35:10Z","expirationDateTime":"2021-05-14T22:35:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-13T22:35:13Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
9595
headers:
9696
apim-request-id:
97-
- 7d17c7da-e61c-4c8e-b284-f32854ad4a15
97+
- b65466d0-aeec-4aef-802d-df17b08e3e80
9898
content-type:
9999
- application/json; charset=utf-8
100100
date:
101-
- Sat, 08 May 2021 06:47:27 GMT
102-
strict-transport-security:
103-
- max-age=31536000; includeSubDomains; preload
104-
transfer-encoding:
105-
- chunked
106-
x-content-type-options:
107-
- nosniff
108-
x-envoy-upstream-service-time:
109-
- '59'
110-
status:
111-
code: 200
112-
message: OK
113-
- request:
114-
body: null
115-
headers:
116-
Accept:
117-
- '*/*'
118-
Accept-Encoding:
119-
- gzip, deflate
120-
Connection:
121-
- keep-alive
122-
User-Agent:
123-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
124-
method: GET
125-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
126-
response:
127-
body:
128-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:20Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
129-
headers:
130-
apim-request-id:
131-
- 25cc767c-9e3b-4363-8804-e804b0322535
132-
content-type:
133-
- application/json; charset=utf-8
134-
date:
135-
- Sat, 08 May 2021 06:47:32 GMT
101+
- Thu, 13 May 2021 22:35:20 GMT
136102
strict-transport-security:
137103
- max-age=31536000; includeSubDomains; preload
138104
transfer-encoding:
@@ -154,61 +120,27 @@ interactions:
154120
Connection:
155121
- keep-alive
156122
User-Agent:
157-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
158-
method: GET
159-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
160-
response:
161-
body:
162-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:20Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
163-
headers:
164-
apim-request-id:
165-
- f0377bb6-cf60-4375-8b38-243c2cb5516d
166-
content-type:
167-
- application/json; charset=utf-8
168-
date:
169-
- Sat, 08 May 2021 06:47:42 GMT
170-
strict-transport-security:
171-
- max-age=31536000; includeSubDomains; preload
172-
transfer-encoding:
173-
- chunked
174-
x-content-type-options:
175-
- nosniff
176-
x-envoy-upstream-service-time:
177-
- '5101'
178-
status:
179-
code: 200
180-
message: OK
181-
- request:
182-
body: null
183-
headers:
184-
Accept:
185-
- '*/*'
186-
Accept-Encoding:
187-
- gzip, deflate
188-
Connection:
189-
- keep-alive
190-
User-Agent:
191-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
123+
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit)
192124
method: GET
193-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
125+
uri: https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/bd639c0e-fa3e-45ae-8632-369fc0914c14?showStats=True
194126
response:
195127
body:
196-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:20Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
128+
string: '{"jobId":"bd639c0e-fa3e-45ae-8632-369fc0914c14","lastUpdateDateTime":"2021-05-13T22:35:13Z","createdDateTime":"2021-05-13T22:35:10Z","expirationDateTime":"2021-05-14T22:35:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-13T22:35:13Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}'
197129
headers:
198130
apim-request-id:
199-
- 6720c966-29d0-469e-878a-0e0709700af4
131+
- eeba116d-dd48-4610-8870-e0bb4749f04a
200132
content-type:
201133
- application/json; charset=utf-8
202134
date:
203-
- Sat, 08 May 2021 06:47:47 GMT
135+
- Thu, 13 May 2021 22:35:25 GMT
204136
strict-transport-security:
205137
- max-age=31536000; includeSubDomains; preload
206138
transfer-encoding:
207139
- chunked
208140
x-content-type-options:
209141
- nosniff
210142
x-envoy-upstream-service-time:
211-
- '9'
143+
- '6'
212144
status:
213145
code: 200
214146
message: OK
@@ -222,29 +154,29 @@ interactions:
222154
Connection:
223155
- keep-alive
224156
User-Agent:
225-
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.8.6 (Windows-10-10.0.19041-SP0)
157+
- azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit)
226158
method: GET
227-
uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/4851980a-0974-4d4b-8f50-991cc1ccb4b1?showStats=True
159+
uri: https://centralus.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/bd639c0e-fa3e-45ae-8632-369fc0914c14?showStats=True
228160
response:
229161
body:
230-
string: '{"jobId":"4851980a-0974-4d4b-8f50-991cc1ccb4b1","lastUpdateDateTime":"2021-05-08T06:47:52Z","createdDateTime":"2021-05-08T06:47:09Z","expirationDateTime":"2021-05-09T06:47:09Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-08T06:47:52Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-08T06:47:52.9894505Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill
162+
string: '{"jobId":"bd639c0e-fa3e-45ae-8632-369fc0914c14","lastUpdateDateTime":"2021-05-13T22:35:26Z","createdDateTime":"2021-05-13T22:35:10Z","expirationDateTime":"2021-05-14T22:35:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-13T22:35:26Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-13T22:35:26.4459831Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill
231163
Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill
232164
Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}'
233165
headers:
234166
apim-request-id:
235-
- 9f4bd416-570d-41ab-9b5e-93cec3cdaada
167+
- 7904f86f-2bd3-4b82-b9f0-5c75f50dda98
236168
content-type:
237169
- application/json; charset=utf-8
238170
date:
239-
- Sat, 08 May 2021 06:47:53 GMT
171+
- Thu, 13 May 2021 22:35:30 GMT
240172
strict-transport-security:
241173
- max-age=31536000; includeSubDomains; preload
242174
transfer-encoding:
243175
- chunked
244176
x-content-type-options:
245177
- nosniff
246178
x-envoy-upstream-service-time:
247-
- '34'
179+
- '43'
248180
status:
249181
code: 200
250182
message: OK

0 commit comments

Comments
 (0)