Y-J
Y-J

Reputation: 1

"Limit document size to: 5120 text elements" in Azure Sentiment Analysis Container

I'm trying to use the Azure Sentiment Analysis container in my local environment. It's working well with short document. But when I use a long document with endpoint (http://localhost:5000/language/:analyze-text?api-version=2024-11-01), I got error:

"A document within the request was too large to be processed. Document contains 20831 text elements. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"

I know there is an asynchronous way to call the Azure Language Service API which has much higher text size limit (https://learn.microsoft.com/en-us/azure/ai-services/language-service/concepts/use-asynchronously), but I don't find it in the container version. Is there any way to process large document in Azure Sentiment Analysis container?

Upvotes: 0

Views: 28

Answers (0)

Related Questions