Spaces:
Sleeping
Sleeping
Commit ·
46cb71a
1
Parent(s): 14bae4c
fixed ai services for ci cd
Browse files2 unmodified lines34567891011 unmodified lines2223242526272 unmodified linesfrom google.genai import typesfrom app.cores.config import settingsclient = genai.Client(api_key=settings.GEMINI_API_KEY)SYSTEM_PROMPT = """You are a resume analysis assistant. Compare the candidate's resume text against a job description and respond with ONLY valid JSON (no markdown, no preamble, no code fences) in exactly this shape:{11 unmodified linesdef analyze_resume_against_jd(resume_text: str, jd_text: str) -> dict:user_prompt = f"""RESUME:{resume_text}2 unmodified lines34567811 unmodified lines20212223242526272 unmodified linesfrom google.genai import typesfrom app.cores.config import settingsSYSTEM_PROMPT = """You are a resume analysis assistant. Compare the candidate's resume text against a job description and respond with ONLY valid JSON (no markdown, no preamble, no code fences) in exactly this shape:{11 unmodified linesdef analyze_resume_against_jd(resume_text: str, jd_text: str) -> dict:client = genai.Client(api_key=settings.GEMINI_API_KEY)user_prompt = f"""RESUME:{resume_text}
app/services/ai_service.py+2-2