question

Shimmur-9947 avatar image
0 Votes"
Shimmur-9947 asked ramr-msft edited

Which endpoint API address to use?

I'm trying out the Text Analytics API for sentiment analysis and just wondering which API address I should use. I've seen two formats in the docs/tutorials.
1. [location].api.cognitive.microsoft.com/text/analytics/v3.0/sentiment
2. [myResourceName].cognitiveservices.azure.com/text/analytics/v3.0/sentiment

Does it matter which of these endpoints I hit? Is there a use case for one over the other?

azure-cognitive-servicesazure-text-analytics
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered ramr-msft edited

@Shimmur-9947 Thanks for the question. you can use either of the two endpoint formats as mentioned in API doc.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.