-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[text analytics] Too many documents #11155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
iscai-msft
merged 12 commits into
Azure:feature/text_analytics_v3.0
from
iscai-msft:too_many_documents
May 7, 2020
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0ebd0d6
throwing http response error if too many documents
iscai-msft 7e43628
added tests
iscai-msft 5b69435
fixed pylint
iscai-msft f041285
added xfail tests to other endpoints for when the service enables thi…
iscai-msft 1efb17b
checking to see if innererror exists, if not back off to error
iscai-msft 0ba7cf5
new recordings
iscai-msft 034289a
moved check for innererror
iscai-msft 01d3d99
fixed pylint
iscai-msft 4156013
removed error code check for too many documents error
iscai-msft 44b0296
Merge branch 'feature/text_analytics_v3.0' of https://github.com/Azur…
iscai-msft 006653d
switched to checking for id equaling empty string
iscai-msft 1f188e6
include check for status code to be 400 in tests
iscai-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...ure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "language": "en"}, {"id": "1", | ||
| "text": "Two", "language": "en"}, {"id": "2", "text": "Three", "language": "en"}, | ||
| {"id": "3", "text": "Four", "language": "en"}, {"id": "4", "text": "Five", "language": | ||
| "en"}, {"id": "5", "text": "Six", "language": "en"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Accept-Encoding: | ||
| - gzip, deflate | ||
| Connection: | ||
| - keep-alive | ||
| Content-Length: | ||
| - '295' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/sentiment?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"One"}],"warnings":[]},{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"Two"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"Three"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"Four"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"Five"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"offset":0,"length":3,"text":"Six"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' | ||
| headers: | ||
| apim-request-id: | ||
| - f7829392-4511-4f67-9d87-bf68daefdf14 | ||
| content-type: | ||
| - application/json; charset=utf-8 | ||
| csp-billing-usage: | ||
| - CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: | ||
| - Wed, 06 May 2020 17:49:55 GMT | ||
| strict-transport-security: | ||
| - max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: | ||
| - chunked | ||
| x-content-type-options: | ||
| - nosniff | ||
| x-envoy-upstream-service-time: | ||
| - '786' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| version: 1 |
35 changes: 35 additions & 0 deletions
35
...-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "language": "en"}, {"id": "1", | ||
| "text": "Two", "language": "en"}, {"id": "2", "text": "Three", "language": "en"}, | ||
| {"id": "3", "text": "Four", "language": "en"}, {"id": "4", "text": "Five", "language": | ||
| "en"}, {"id": "5", "text": "Six", "language": "en"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Content-Length: | ||
| - '295' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/sentiment?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"One"}],"warnings":[]},{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"Two"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"Three"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"Four"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"Five"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"offset":0,"length":3,"text":"Six"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' | ||
| headers: | ||
| apim-request-id: 907d38c7-507c-4d8c-ab66-7ba7b902396c | ||
| content-type: application/json; charset=utf-8 | ||
| csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: Wed, 06 May 2020 17:49:59 GMT | ||
| strict-transport-security: max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: chunked | ||
| x-content-type-options: nosniff | ||
| x-envoy-upstream-service-time: '447' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| url: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/sentiment?showStats=false | ||
| version: 1 |
46 changes: 46 additions & 0 deletions
46
...azure-ai-textanalytics/tests/recordings/test_detect_language.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "countryHint": "US"}, {"id": | ||
| "1", "text": "Two", "countryHint": "US"}, {"id": "2", "text": "Three", "countryHint": | ||
| "US"}, {"id": "3", "text": "Four", "countryHint": "US"}, {"id": "4", "text": | ||
| "Five", "countryHint": "US"}, {"id": "5", "text": "Six", "countryHint": "US"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Accept-Encoding: | ||
| - gzip, deflate | ||
| Connection: | ||
| - keep-alive | ||
| Content-Length: | ||
| - '313' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/languages?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2019-10-01"}' | ||
| headers: | ||
| apim-request-id: | ||
| - 665f34a6-d0d7-4e1e-836a-0022b2e7c355 | ||
| content-type: | ||
| - application/json; charset=utf-8 | ||
| csp-billing-usage: | ||
| - CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: | ||
| - Wed, 06 May 2020 17:50:00 GMT | ||
| strict-transport-security: | ||
| - max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: | ||
| - chunked | ||
| x-content-type-options: | ||
| - nosniff | ||
| x-envoy-upstream-service-time: | ||
| - '17' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| version: 1 |
35 changes: 35 additions & 0 deletions
35
...ai-textanalytics/tests/recordings/test_detect_language_async.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "countryHint": "US"}, {"id": | ||
| "1", "text": "Two", "countryHint": "US"}, {"id": "2", "text": "Three", "countryHint": | ||
| "US"}, {"id": "3", "text": "Four", "countryHint": "US"}, {"id": "4", "text": | ||
| "Five", "countryHint": "US"}, {"id": "5", "text": "Six", "countryHint": "US"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Content-Length: | ||
| - '313' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/languages?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2019-10-01"}' | ||
| headers: | ||
| apim-request-id: ac9a9b12-9398-417b-b38a-1a33b7f27398 | ||
| content-type: application/json; charset=utf-8 | ||
| csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: Wed, 06 May 2020 17:50:00 GMT | ||
| strict-transport-security: max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: chunked | ||
| x-content-type-options: nosniff | ||
| x-envoy-upstream-service-time: '4' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| url: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/languages?showStats=false | ||
| version: 1 |
46 changes: 46 additions & 0 deletions
46
...e-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "language": "en"}, {"id": "1", | ||
| "text": "Two", "language": "en"}, {"id": "2", "text": "Three", "language": "en"}, | ||
| {"id": "3", "text": "Four", "language": "en"}, {"id": "4", "text": "Five", "language": | ||
| "en"}, {"id": "5", "text": "Six", "language": "en"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Accept-Encoding: | ||
| - gzip, deflate | ||
| Connection: | ||
| - keep-alive | ||
| Content-Length: | ||
| - '295' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/keyPhrases?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2019-10-01"}' | ||
| headers: | ||
| apim-request-id: | ||
| - 43f39a4a-18f5-4c05-b5a2-b3404123cc86 | ||
| content-type: | ||
| - application/json; charset=utf-8 | ||
| csp-billing-usage: | ||
| - CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: | ||
| - Wed, 06 May 2020 17:50:01 GMT | ||
| strict-transport-security: | ||
| - max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: | ||
| - chunked | ||
| x-content-type-options: | ||
| - nosniff | ||
| x-envoy-upstream-service-time: | ||
| - '9' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| version: 1 |
35 changes: 35 additions & 0 deletions
35
...extanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "language": "en"}, {"id": "1", | ||
| "text": "Two", "language": "en"}, {"id": "2", "text": "Three", "language": "en"}, | ||
| {"id": "3", "text": "Four", "language": "en"}, {"id": "4", "text": "Five", "language": | ||
| "en"}, {"id": "5", "text": "Six", "language": "en"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Content-Length: | ||
| - '295' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/keyPhrases?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2019-10-01"}' | ||
| headers: | ||
| apim-request-id: fdc1b5e3-6da7-4fa1-b190-a3b3ff2b1289 | ||
| content-type: application/json; charset=utf-8 | ||
| csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: Wed, 06 May 2020 17:50:01 GMT | ||
| strict-transport-security: max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: chunked | ||
| x-content-type-options: nosniff | ||
| x-envoy-upstream-service-time: '4' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| url: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/keyPhrases?showStats=false | ||
| version: 1 |
49 changes: 49 additions & 0 deletions
49
...re-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| interactions: | ||
| - request: | ||
| body: '{"documents": [{"id": "0", "text": "One", "language": "en"}, {"id": "1", | ||
| "text": "Two", "language": "en"}, {"id": "2", "text": "Three", "language": "en"}, | ||
| {"id": "3", "text": "Four", "language": "en"}, {"id": "4", "text": "Five", "language": | ||
| "en"}, {"id": "5", "text": "Six", "language": "en"}]}' | ||
| headers: | ||
| Accept: | ||
| - application/json | ||
| Accept-Encoding: | ||
| - gzip, deflate | ||
| Connection: | ||
| - keep-alive | ||
| Content-Length: | ||
| - '295' | ||
| Content-Type: | ||
| - application/json | ||
| User-Agent: | ||
| - azsdk-python-ai-textanalytics/1.0.0b5 Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| Python/3.7.7 (Darwin-17.7.0-x86_64-i386-64bit) | ||
| method: POST | ||
| uri: https://westus2.ppe.cognitiveservices.azure.com/text/analytics/v3.0/entities/recognition/general?showStats=false | ||
| response: | ||
| body: | ||
| string: '{"documents":[{"id":"0","entities":[{"text":"One","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"Five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"Six","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]}],"errors":[{"id":"","error":{"code":"InvalidRequest","message":"The | ||
| request has exceeded the allowed document limits.","innererror":{"code":"InvalidDocumentBatch","message":"The | ||
| number of documents in the request have exceeded the data limitations. See | ||
| https://aka.ms/text-analytics-data-limits for additional information"}}}],"modelVersion":"2020-04-01"}' | ||
| headers: | ||
| apim-request-id: | ||
| - c59e450a-a78e-4bb5-aac2-b6da434585d1 | ||
| content-type: | ||
| - application/json; charset=utf-8 | ||
| csp-billing-usage: | ||
| - CognitiveServices.TextAnalytics.BatchScoring=6 | ||
| date: | ||
| - Wed, 06 May 2020 17:50:02 GMT | ||
| strict-transport-security: | ||
| - max-age=31536000; includeSubDomains; preload | ||
| transfer-encoding: | ||
| - chunked | ||
| x-content-type-options: | ||
| - nosniff | ||
| x-envoy-upstream-service-time: | ||
| - '957' | ||
| status: | ||
| code: 200 | ||
| message: OK | ||
| version: 1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.