UNPKG

@aituber-onair/core

Version:

Core library for AITuber OnAir providing voice synthesis and chat processing

15 lines 500 B
export const MODEL_GPT_4O_MINI = 'gpt-4o-mini'; export const CHAT_COMPLETION_API_V1 = 'https://api.openai.com/v1/chat/completions'; export const CHAT_RESPONSE_LENGTH = { VERY_SHORT: 'veryShort', SHORT: 'short', MEDIUM: 'medium', LONG: 'long', }; export const MAX_TOKENS_BY_LENGTH = { [CHAT_RESPONSE_LENGTH.VERY_SHORT]: 40, [CHAT_RESPONSE_LENGTH.SHORT]: 100, [CHAT_RESPONSE_LENGTH.MEDIUM]: 200, [CHAT_RESPONSE_LENGTH.LONG]: 300, }; //# sourceMappingURL=openaiApi.js.map