Description
- Package Name: azure-ai-textanalytics
- Package Version: 5.2.1
- Operating System:
- Python Version: 3.10
Describe the bug
The text analytics endpoint indicates that the max size per document is 30,720 characters however when submitting a document considerably smaller, a warning is received despite smaller character count. See below traceback printing the value of the document and warning for the same AnalyzeHealthcareEntitiesResult
object.
See data limits documentation here: https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/concepts/data-limits#maximum-characters-per-document
To Reproduce
Steps to reproduce the behavior:
- Submit a document above 8000 characters to text analytics API
Expected behavior
No warning is received.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This happens both for the default text analytics model and when using model_version 2022-08-15-preview
learn.microsoft.comlearn.microsoft.com
Data limits for Language service features - Azure Cognitive Services
Data and service limitations for Azure Cognitive Service for Language features.
Metadata
Assignees
Labels
Type
Projects
Status
No status