Is it possible to get both EntityRecognition and KeyPhraseExtractionResults in a single API Call

Devashish Pawar 0 Reputation points
2023-05-26T11:49:59.18+00:00

Is it possible to get both EntityRecognition and KeyPhraseExtractionResults in a single API Call? Currently I know we can use 2 separate calls with separate kind key in the request body but just wanted to know if this is possible with a single API call instead of 2.

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
358 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,393 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,616 Reputation points
    2023-05-26T15:08:09.6366667+00:00

    @Devashish Pawar Thanks for the question. No, Separate calls with separate kind keys in the request body are required for each task.

    https://learn.microsoft.com/en-us/rest/api/language/2022-10-01-preview/text-analysis-runtime/analyze-text?tabs=HTTP

    0 comments No comments