Skip to content

Commit 73a9f52

Browse files
Revert "add recordings (#17125)"
This reverts commit d03c270.
1 parent 2a8d7c9 commit 73a9f52

File tree

4 files changed

+142
-107
lines changed

4 files changed

+142
-107
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: 'b''{"source": "container_sas_url", "sourceFilter": {"prefix": "", "includeSubFolders":
3+
body: 'b''{"source": "containersasurl", "sourceFilter": {"prefix": "", "includeSubFolders":
44
false}, "useLabelFile": true}'''
55
headers:
66
Accept:
@@ -10,31 +10,31 @@ interactions:
1010
Connection:
1111
- keep-alive
1212
Content-Length:
13-
- '275'
13+
- '287'
1414
Content-Type:
1515
- application/json
1616
User-Agent:
17-
- azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.9.0 (Windows-10-10.0.19041-SP0)
17+
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
1818
method: POST
19-
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models
19+
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models
2020
response:
2121
body:
2222
string: ''
2323
headers:
2424
apim-request-id:
25-
- 21140307-8359-4aab-8f7d-e53c3eb94896
25+
- 5df06915-167a-4c1b-8e46-c193560d60d5
2626
content-length:
2727
- '0'
2828
date:
29-
- Fri, 05 Mar 2021 17:28:08 GMT
29+
- Fri, 30 Oct 2020 00:56:57 GMT
3030
location:
31-
- https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/fdeb65ad-0e6c-49c4-a162-6fc4c1c4d36a
31+
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131
3232
strict-transport-security:
3333
- max-age=31536000; includeSubDomains; preload
3434
x-content-type-options:
3535
- nosniff
3636
x-envoy-upstream-service-time:
37-
- '467'
37+
- '39'
3838
status:
3939
code: 201
4040
message: Created
@@ -48,14 +48,14 @@ interactions:
4848
Connection:
4949
- keep-alive
5050
User-Agent:
51-
- azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.9.0 (Windows-10-10.0.19041-SP0)
51+
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
5252
method: GET
53-
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/fdeb65ad-0e6c-49c4-a162-6fc4c1c4d36a?includeKeys=true
53+
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131?includeKeys=true
5454
response:
5555
body:
56-
string: '{"modelInfo": {"modelId": "fdeb65ad-0e6c-49c4-a162-6fc4c1c4d36a", "attributes":
57-
{"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-05T17:28:08Z",
58-
"lastUpdatedDateTime": "2021-03-05T17:28:11Z"}, "trainResult": {"averageModelAccuracy":
56+
string: '{"modelInfo": {"modelId": "e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131", "attributes":
57+
{"isComposed": false}, "status": "ready", "createdDateTime": "2020-10-30T00:56:57Z",
58+
"lastUpdatedDateTime": "2020-10-30T00:57:00Z"}, "trainResult": {"averageModelAccuracy":
5959
0.96, "trainingDocuments": [{"documentName": "Form_1.jpg", "pages": 1, "status":
6060
"succeeded"}, {"documentName": "Form_2.jpg", "pages": 1, "status": "succeeded"},
6161
{"documentName": "Form_3.jpg", "pages": 1, "status": "succeeded"}, {"documentName":
@@ -72,19 +72,19 @@ interactions:
7272
"accuracy": 1.0}], "errors": []}}'
7373
headers:
7474
apim-request-id:
75-
- 7ff79e2c-6ad7-4cce-9bdb-479c8a6d1fdc
76-
content-length:
77-
- '1218'
75+
- c16583cf-202f-4bdb-aec9-4e23001cc585
7876
content-type:
7977
- application/json; charset=utf-8
8078
date:
81-
- Fri, 05 Mar 2021 17:28:13 GMT
79+
- Fri, 30 Oct 2020 00:57:02 GMT
8280
strict-transport-security:
8381
- max-age=31536000; includeSubDomains; preload
82+
transfer-encoding:
83+
- chunked
8484
x-content-type-options:
8585
- nosniff
8686
x-envoy-upstream-service-time:
87-
- '26'
87+
- '19'
8888
status:
8989
code: 200
9090
message: OK
@@ -102,31 +102,66 @@ interactions:
102102
Content-Type:
103103
- application/json
104104
User-Agent:
105-
- azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.9.0 (Windows-10-10.0.19041-SP0)
105+
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
106106
method: POST
107-
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/fdeb65ad-0e6c-49c4-a162-6fc4c1c4d36a/analyze?includeTextDetails=false
107+
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131/analyze?includeTextDetails=false
108+
response:
109+
body:
110+
string: ''
111+
headers:
112+
apim-request-id:
113+
- ae05a937-8068-4917-8218-0591a50a4475
114+
content-length:
115+
- '0'
116+
date:
117+
- Fri, 30 Oct 2020 00:57:02 GMT
118+
operation-location:
119+
- https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131/analyzeresults/4d4e4295-abfd-47e9-a39b-4d9f1f4faead
120+
strict-transport-security:
121+
- max-age=31536000; includeSubDomains; preload
122+
x-content-type-options:
123+
- nosniff
124+
x-envoy-upstream-service-time:
125+
- '46'
126+
status:
127+
code: 202
128+
message: Accepted
129+
- request:
130+
body: null
131+
headers:
132+
Accept:
133+
- '*/*'
134+
Accept-Encoding:
135+
- gzip, deflate
136+
Connection:
137+
- keep-alive
138+
User-Agent:
139+
- azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
140+
method: GET
141+
uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e31c63b0-4e5b-42d9-b7b6-ebf45aa6e131/analyzeresults/4d4e4295-abfd-47e9-a39b-4d9f1f4faead
108142
response:
109143
body:
110-
string: '{"error": {"code": "1001", "message": "Could not retrieve user-provided
111-
resource."}}'
144+
string: '{"status": "failed", "createdDateTime": "2020-10-30T00:57:03Z", "lastUpdatedDateTime":
145+
"2020-10-30T00:57:03Z", "analyzeResult": {"version": "2.1.0", "errors": [{"code":
146+
"2003", "message": "Failed to download image from input URL."}]}}'
112147
headers:
113148
apim-request-id:
114-
- aba87b49-2b23-4fa6-adb0-f36ce15bb8dd
149+
- 37586360-9a70-4916-b8b1-26eaeaaba005
115150
content-length:
116-
- '80'
151+
- '221'
117152
content-type:
118153
- application/json; charset=utf-8
119154
date:
120-
- Fri, 05 Mar 2021 17:28:15 GMT
121-
ms-azure-ai-errorcode:
122-
- UserResourceNotAvailable
155+
- Fri, 30 Oct 2020 00:57:08 GMT
123156
strict-transport-security:
124157
- max-age=31536000; includeSubDomains; preload
125158
x-content-type-options:
126159
- nosniff
127160
x-envoy-upstream-service-time:
128-
- '2153'
161+
- '19'
162+
x-ms-cs-error-code:
163+
- '2003'
129164
status:
130-
code: 400
131-
message: Bad Request
165+
code: 200
166+
message: OK
132167
version: 1

0 commit comments

Comments
 (0)