private static Response <AnalyzeSentimentResultCollection> CreateAnalyzeSentimentResponse(Response response, IDictionary <string, int> idToIndexMap) => Response.FromValue(TextAnalyticsServiceSerializer.DeserializeAnalyzeSentimentResponse(response.ContentStream, idToIndexMap), response);
private static Response <AnalyzeSentimentResultCollection> CreateAnalyzeSentimentResponse(Response response) => Response.FromValue(TextAnalyticsServiceSerializer.DeserializeAnalyzeSentimentResponse(response.ContentStream), response);