@aituber-onair/core
Version:
Core library for AITuber OnAir providing voice synthesis and chat processing
16 lines (15 loc) • 571 B
TypeScript
export declare const MODEL_GPT_4O_MINI = "gpt-4o-mini";
export declare const CHAT_COMPLETION_API_V1 = "https://api.openai.com/v1/chat/completions";
export declare const CHAT_RESPONSE_LENGTH: {
readonly VERY_SHORT: "veryShort";
readonly SHORT: "short";
readonly MEDIUM: "medium";
readonly LONG: "long";
};
export declare const MAX_TOKENS_BY_LENGTH: {
readonly veryShort: 40;
readonly short: 100;
readonly medium: 200;
readonly long: 300;
};
export type ChatResponseLength = (typeof CHAT_RESPONSE_LENGTH)[keyof typeof CHAT_RESPONSE_LENGTH];