saim1309's picture
Upload 4 files
42db8ec verified
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"
GEN_MODEL = "gpt-4o"
FAST_MODEL = "gpt-4o-mini"
# 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'
]
EMAIL_ONLY_KEYWORDS = [
'payment', 'pay', 'billing', 'charge', 'refund', 'money back',
'attend', 'attendance', 'miss', 'missed', 'late', 'reschedule',
'account', 'login', 'password', 'sign in', 'membership'
]
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.
- User Context: The user is already on getscenestudios.com. Behave as if you are a guide right there with them.
- Negative Constraint: NEVER use the phrase "Visit the website" or "Check our site". Instead, use "You can see here..." or "Click this link below..." or similar language that implies current presence.
- 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.")
"""