Spaces:
Sleeping
Sleeping
Commit ·
46cb71a
1
Parent(s): 14bae4c
fixed ai services for ci cd
Browse files2 unmodified lines3456767811 unmodified lines20212223242526272 unmodified linesfrom google.genai import typesfrom app.cores.config import settings
client = 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 lines
def 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