mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-26 07:07:45 -06:00
- Updated OpenaiService and related classes to enhance the initialization process by ensuring the correct order of parameters. - Simplified audio message handling by consolidating transcription logic and improving error handling. - Refactored the OpenaiController to utilize the new structure, ensuring better integration with the base chatbot framework. - Enhanced logging for better traceability during audio processing and API interactions.
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import { TriggerOperator, TriggerType } from '@prisma/client';
|
|
|
|
import { BaseChatbotDto, BaseChatbotSettingDto } from '../../base-chatbot.dto';
|
|
|
|
export class EvoaiDto extends BaseChatbotDto {
|
|
// Evoai specific fields
|
|
agentUrl?: string;
|
|
apiKey?: string;
|
|
}
|
|
|
|
export class EvoaiSettingDto extends BaseChatbotSettingDto {
|
|
// Evoai specific fields
|
|
}
|