File size: 2,227 Bytes
9f57d5e
 
 
 
9faf3b4
9f57d5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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.")
"""