Spaces:
Sleeping
Sleeping
File size: 738 Bytes
1aea493 | 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 | 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"
}
|