question

Andreas-6724 avatar image
1 Vote"
Andreas-6724 asked GijsbertHuijsen-0366 edited

How to authenticate and measure customers usage of cognitive services

We have set up a Speech To Text service with a Custom Model that will be used for dictation. What is the best way to identify customers and measure their usage of the service?

Currently the Windows client is not communicating with anything else but the Speech To Text service. Authentication is done with our subscription key so there is no way to distinguish between different customers.

Is there a way to authenticate unique users with Azure Active Directory and measure their usage?

azure-cognitive-servicesazure-speech
· 2
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.

Hi, can you please clarify what specific metrics you are looking to track?

0 Votes 0 ·

Hi,

Mainly minutes of speech processed

Thanks
Andreas

0 Votes 0 ·

1 Answer

GiftA-MSFT avatar image
1 Vote"
GiftA-MSFT answered GijsbertHuijsen-0366 edited

Thanks for the information. Unfortunately, cognitive services doesn't have a built-in user specific usage metrics. The closest metric to what you're looking for would be SpeechSessionDuration (Total duration of speech session in seconds by ApiName, OperationName, and Region) and available through Azure Monitor. However, you can create your own custom metrics in Azure monitor. Hope this helps.


· 1
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.

Hi,

Currently we are using the microsoft-cognitiveservices-speech-sdk npm package to do speech recognition from the browser. We are using the temporary (bearer) access token to authenticate, but it would really be useful to be able to track which user is using the service for billing purposes. This cannot be deduced from the logs at this point in time.

Are you planning to make this possible in the future?

Thanks,

Gijsbert

0 Votes 0 ·