The SummarizeText class provides methods to summarize text using the Deepgram and Edenai APIs.
Creates a new instance of SummarizeText.
Configuration options for the SummarizeText instance.
Summarizes the provided text using the Deepgram API.
The text to summarize.
The ISO language code of the text.
A Promise that resolves with the summarized text.
Will throw an error if the API request fails.
Summarizes the provided text using the Edenai API.
An object containing the text to summarize and other parameters.
A Promise that resolves with the summarized text object.
The SummarizeText class provides methods to summarize text using the Deepgram and Edenai APIs.