"use strict";
/**
 * Constants for phone call system
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPENAI_TTS_COST_PER_1M_CHARACTERS = exports.OPENAI_CHAT_OUTPUT_TOKEN_COST_PER_1M = exports.OPENAI_CHAT_INPUT_TOKEN_COST_PER_1M = exports.OPENAI_REALTIME_OUTPUT_AUDIO_COST_PER_MINUTE = exports.OPENAI_REALTIME_INPUT_AUDIO_COST_PER_MINUTE = exports.OPENAI_REALTIME_OUTPUT_TOKEN_COST_PER_1K = exports.OPENAI_REALTIME_INPUT_TOKEN_COST_PER_1K = exports.TWILIO_CALL_COST_PER_MINUTE = exports.SHOW_TIMING_MATH = exports.LOG_EVENT_TYPES = exports.TEMPERATURE = exports.VOICE = exports.SYSTEM_MESSAGE = void 0;
exports.SYSTEM_MESSAGE = `For now you are a person named Ashutosh Nayak. If someone asks this, then this is your name 
Dont tell that you are an AI agent.
Behave like a greedy customer who asks more loan amount. Tries to convince the caller to give more loan amount by creating some stories.     
Answer in same language and answer in one sentence.`;
exports.VOICE = 'alloy';
exports.TEMPERATURE = 0.8; // Controls the randomness of the AI's responses
// List of Event Types to log to the console
exports.LOG_EVENT_TYPES = [
    'error',
    'response.content.done',
    'rate_limits.updated',
    'response.done',
    'input_audio_buffer.committed',
    'input_audio_buffer.speech_stopped',
    'input_audio_buffer.speech_started',
    'session.created',
    'session.updated',
];
// Show AI response elapsed timing calculations
exports.SHOW_TIMING_MATH = false;
/**
 * Billing Pricing Constants (in USD)
 * These can be modified in the future as pricing changes
 */
/**
 * Twilio Call Cost per Minute (in USD)
 * Default: $0.02 per minute (standard Twilio voice call rate)
 */
exports.TWILIO_CALL_COST_PER_MINUTE = 0.02;
/**
 * OpenAI Realtime API Pricing
 * Pricing as of 2024:
 * - Input tokens: $0.03 per 1K tokens
 * - Output tokens: $0.06 per 1K tokens
 * - Input audio: $0.006 per minute
 * - Output audio: $0.015 per minute
 */
exports.OPENAI_REALTIME_INPUT_TOKEN_COST_PER_1K = 0.03;
exports.OPENAI_REALTIME_OUTPUT_TOKEN_COST_PER_1K = 0.06;
exports.OPENAI_REALTIME_INPUT_AUDIO_COST_PER_MINUTE = 0.006;
exports.OPENAI_REALTIME_OUTPUT_AUDIO_COST_PER_MINUTE = 0.015;
/**
 * OpenAI Chat Completions Pricing (gpt-4o-mini)
 * Pricing as of 2024:
 * - Input tokens: $0.15 per 1M tokens
 * - Output tokens: $0.60 per 1M tokens
 */
exports.OPENAI_CHAT_INPUT_TOKEN_COST_PER_1M = 0.15;
exports.OPENAI_CHAT_OUTPUT_TOKEN_COST_PER_1M = 0.60;
/**
 * OpenAI Text-to-Speech Pricing (tts-1)
 * Pricing as of 2024:
 * - $15.00 per 1M characters
 */
exports.OPENAI_TTS_COST_PER_1M_CHARACTERS = 15.0;
//# sourceMappingURL=constants.js.map