private static Response <ExtractKeyPhrasesResultCollection> CreateKeyPhraseResponse(Response response) => Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream), response);
private static Response <ExtractKeyPhrasesResultCollection> CreateKeyPhraseResponse(Response response, IDictionary <string, int> idToIndexMap) => Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream, idToIndexMap), response);
private static Response <DocumentResultCollection <string> > CreateKeyPhraseResponse(Response response) => Response.FromValue(TextAnalyticsServiceSerializer.DeserializeKeyPhraseResponse(response.ContentStream), response);