Text Analytics best way to get full json for later processing.

BET 16 Reputation points
2021-02-16T02:49:34.653+00:00

I am using Text Analytics for sentiment and named entity recognition. Currently, I am using the Azure.AI.TextAnalytics package with C#, my use case requires calling the analytics API, getting the response document, storing the document for later processing. Is there is way to get the raw Json response when using the TextAnalyticsClient or do I need to use HttpClient? If not, would be nice to have that because trying to serialize response value doesn't handle categories for named entities.

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
375 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,641 Reputation points
    2021-02-17T04:23:54.343+00:00

    @BET Thanks for the question. You can use the text analytics REST API that provides the Raw Json Response for sentiment as well as NER. We are investigating for Text analytics client library and will update the same.

    Here is the doc and samples for text analytics using the text analytics client library.