Spaces:
Running
Running
Update resume_analyzer.py
Browse files- src/resume_analyzer.py +2 -19
src/resume_analyzer.py
CHANGED
@@ -14,32 +14,15 @@ def optimize_resume(resume_content, job_description):
|
|
14 |
to the resume and tell me what resumes you have added. Please provide an updated resume. Start the updated resume section with this heading 'Here's an updated version of your resume,
|
15 |
optimized for the given job description:'
|
16 |
|
17 |
-
# I'm actively applying for jobs and want to optimize my resume for Applicant Tracking Systems (ATS) to increase my chances of getting interviews. My goal is to achieve an ATS score of 85% or higher. Please help me with the following:
|
18 |
-
|
19 |
-
# 1. Analyze my current resume and the target job description provided below.
|
20 |
-
# 2. Identify any areas where keywords, skills, or formatting could be improved to better align with the job requirements and ATS algorithms.
|
21 |
-
# 3. Revise my resume based on your analysis. Incorporate relevant keywords, highlight key accomplishments with strong action verbs, and ensure the formatting is ATS-friendly.
|
22 |
-
# 4. Offer additional suggestions for optimizing my resume content or layout, if applicable.
|
23 |
-
# 5. Provide a predicted ATS score for the job description and the updated resume.
|
24 |
-
# 6. Identify any projects in the resume that may not be relevant to this specific job application and only keep 3-4 project (max) in the updated resume.
|
25 |
-
# 7. Provide an updated version of the resume. Start the updated resume section with this heading 'Here's an updated version of your resume, optimized for the given job description:'
|
26 |
-
|
27 |
Please present your analysis and suggestions in a structured Python dictionary format, similar to the following:
|
28 |
|
29 |
-
# resume_analysis = {{
|
30 |
-
# "ats_score": 0,
|
31 |
-
# "keyword_suggestions": [],
|
32 |
-
# "formatting_suggestions": [],
|
33 |
-
# "content_improvements": [],
|
34 |
-
# "irrelevant_projects": []
|
35 |
-
# }}
|
36 |
-
|
37 |
resume_analysis = {{
|
38 |
"ats_score": 0,
|
39 |
"keyword_and_skills_alignment": [],
|
40 |
"relevant_projects_and_experience": [],
|
41 |
"additional_suggestions": [],
|
42 |
"changes_and_optimizations": [],
|
|
|
43 |
"updated_ats_score": 0
|
44 |
}}
|
45 |
|
@@ -55,4 +38,4 @@ def optimize_resume(resume_content, job_description):
|
|
55 |
try:
|
56 |
return text_processing(response)
|
57 |
except:
|
58 |
-
return None, None
|
|
|
14 |
to the resume and tell me what resumes you have added. Please provide an updated resume. Start the updated resume section with this heading 'Here's an updated version of your resume,
|
15 |
optimized for the given job description:'
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
Please present your analysis and suggestions in a structured Python dictionary format, similar to the following:
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
resume_analysis = {{
|
20 |
"ats_score": 0,
|
21 |
"keyword_and_skills_alignment": [],
|
22 |
"relevant_projects_and_experience": [],
|
23 |
"additional_suggestions": [],
|
24 |
"changes_and_optimizations": [],
|
25 |
+
"added_projects_or_skills": [],
|
26 |
"updated_ats_score": 0
|
27 |
}}
|
28 |
|
|
|
38 |
try:
|
39 |
return text_processing(response)
|
40 |
except:
|
41 |
+
return None, None
|