import os from datetime import timedelta from dotenv import load_dotenv # load_dotenv() # API Keys OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # Database DB_PATH = "getscene_ai.sqlite" # Models EMBED_MODEL = "text-embedding-3-small" # Caching CACHE_DURATION = timedelta(hours=24) # Keyword Lists EMOTIONAL_KEYWORDS = [ 'stuck', 'frustrated', 'discouraged', 'overwhelmed', 'scared', 'nervous', 'anxious', 'worried', 'fear', 'doubt', 'confidence', 'insecure', 'lost', 'confused', 'struggling', 'hard time', 'giving up', 'burnout', 'rejection', 'failed', 'can\'t', 'feeling', 'feel', 'emotional', 'depressed', 'sad', 'unmotivated', 'hopeless', 'stressed', 'pressure', 'imposter' ] ACTION_KEYWORDS = [ 'get an agent', 'find agent', 'need agent', 'want agent', 'sign with agent', 'more auditions', 'book', 'booking', 'callbacks', 'improve', 'better', 'self-tape', 'materials', 'headshots', 'reel', 'network', 'connections', 'industry', 'career', 'strategy', 'agent prep', 'total agent prep', 'workshop', 'class', 'training', 'results', 'success', 'grow', 'advance', 'level up' ] POLICY_KEYWORDS = [ 'refund', 'refunds', 'money back', 'attend', 'attendance', 'miss', 'missed', 'missing', 'absent', 'late', 'lateness', 'tardy', 'reschedule', 'change date', 'move class', 'credit', 'credits', 'cancel', 'cancellation', 'canceling', 'policy', 'policies' ] DETAIL_SYNONYMS = [ 'detail', 'details', 'explain', 'elaborate', 'tell me more', 'more info', 'describe', 'thorough', 'comprehensive' ] PERSONA_INSTRUCTION = """ You are a warm, encouraging mentor at Get Scene Studios. Your goal is to help actors navigate their careers with confidence. - Sound natural and human, not scripted or robotic. Use conversational transitions like "I'd suggest starting with..." or "A great way to approach this is..." - Be encouraging but practical. Acknowledge that the acting journey is a marathon, not a sprint. - Help the user THINK: Instead of just giving an answer, add a brief "mentorship flourish" that explains the value of a recommendation (e.g., "This workshop is great because it gets you comfortable with the pressure of a real callback.") """