Azure Cognitive service intents and entities api needed

205 Views Asked by At

I am working with node js. Now I have to connect my application with Azure Cognitive Services. I did not find APIs for detecting Intent , API for listing Intent also API for listing entities. Right now I am using axios to send request from my node js applications. I tried LUIS documentation. But this does not work. Then I have tried Azure Cognitive service documentation. It works but there I did not find any api for intents and entities. Which api documentation should I follow and is there any better way to connect Azure Cognitive service with node js?

2

There are 2 best solutions below

2
Thiago Custodio On

I am not sure where you were looking for, but Node (Javascript) has a valid SDK for Azure Services, including Cognitive Services.

Please check the official doc:

https://learn.microsoft.com/en-us/javascript/api/overview/azure/ai-text-analytics-readme?view=azure-node-latest

And here's the official npm:

https://www.npmjs.com/package/@azure/ai-text-analytics

0
Talukder Habib Riyadh On

To get the intents and entities this api help me. Endpoint:

GET {Endpoint}/language/authoring/analyze-conversations/projects/{projectName}/models/{trainedModelLabel}/evaluation/summary-result?api-version=2022-10-01-preview

Change the projectName with your project title and the trainedModelLabel with a trained model title.