import os from dotenv import load_dotenv load_dotenv() # API Configuration OPENAI_API_KEY = os.getenv("OPENAI_API_KEY", "") USE_LOCAL_MODEL = os.getenv("USE_LOCAL_MODEL", "False").lower() == "true" # File Upload Configuration MAX_FILE_SIZE = 10 * 1024 * 1024 # 10MB ALLOWED_EXTENSIONS = {".pdf", ".docx", ".doc", ".txt"} # AI Model Configuration MODEL_NAME = "gpt-3.5-turbo" TEMPERATURE = 0.7 MAX_TOKENS = 2000 # Resume Analysis Sections ANALYSIS_SECTIONS = { "summary": "Executive Summary", "skills": "Skills Analysis", "experience": "Experience Review", "education": "Education Background", "gaps": "Career Gaps & Concerns", "recommendations": "Improvement Recommendations", "score": "Overall Score" }