Spaces:
Build error
Build error
| def build_prompt( | |
| structured_resume: dict, | |
| skills_found: list[str], | |
| scores: dict, | |
| job_description: str | |
| ) -> str: | |
| return f""" | |
| You are an ATS evaluation assistant. | |
| RULES: | |
| - Do NOT invent skills. | |
| - Do NOT change scores. | |
| - Use ONLY the provided resume content. | |
| - Base explanations on evidence. | |
| - Be concise and factual. | |
| RESUME (STRUCTURED): | |
| {structured_resume} | |
| SKILLS FOUND: | |
| {skills_found} | |
| JOB DESCRIPTION: | |
| {job_description} | |
| SCORES (DO NOT MODIFY): | |
| {scores} | |
| TASK: | |
| 1. Explain why the overall score is what it is. | |
| 2. List clear strengths based on resume evidence. | |
| 3. Identify gaps relative to the job description. | |
| 4. Suggest realistic improvements. | |
| 5. Generate interview questions strictly from resume + JD. | |
| Respond ONLY in valid JSON. | |
| """ | |