SummaryService constructor
SummaryService({})
Creates a new instance of SummaryService.
Requires an apiKey for authentication.
Optionally, an openAiEndpoint can be provided.
Implementation
SummaryService({
required this.apiKey,
this.openAiEndpoint = 'https://api.openai.com/v1/chat/completions',
});