Esempio n. 1
0
        private static async Task <Response <IEnumerable <IEnumerable <NamedEntity> > > > CreateRecognizeEntitiesResponseSimpleAsync(Response response, CancellationToken cancellation)
        {
            var result = await TextAnalyticsServiceSerializer.DeserializeEntityCollectionAsync(response.ContentStream, cancellation).ConfigureAwait(false);

            return(Response.FromValue(result, response));
        }