Spaces:
Running
Running
Updated Prompt
Browse files- src/resume_analyzer.py +31 -12
src/resume_analyzer.py
CHANGED
@@ -4,24 +4,43 @@ import json
|
|
4 |
|
5 |
def optimize_resume(resume_content, job_description):
|
6 |
prompt = f"""
|
7 |
-
I'm actively applying for jobs and want to optimize my resume for Applicant Tracking Systems (ATS) to increase my chances of getting interviews.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
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 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
|
|
25 |
}}
|
26 |
|
27 |
Current Resume: {resume_content}
|
|
|
4 |
|
5 |
def optimize_resume(resume_content, job_description):
|
6 |
prompt = f"""
|
7 |
+
I'm actively applying for jobs and want to optimize my resume for Applicant Tracking Systems (ATS) to increase my chances of getting interviews.
|
8 |
+
My goal is to achieve an ATS score of 85% or higher. Please help me with the following: Analyze my current resume (attached) and the target job
|
9 |
+
description (also provided below). Identify any areas where keywords, skills, or formatting could be improved to better align with the job requirements
|
10 |
+
and ATS algorithms. Revise my resume based on your analysis. Incorporate relevant keywords, highlight key accomplishments with strong action verbs,
|
11 |
+
and ensure the formatting is ATS-friendly. Offer additional suggestions for optimizing my resume content or layout, if applicable. At the end, give me
|
12 |
+
the predicted ATS score for the job description and the updated resume. Also keep the projects that are relevant and remove the rest and tell me which
|
13 |
+
ones are not relevant so that I can remove them. And, if possible add additional projects or skills that you think are relevant and may add more weight
|
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 |
|
46 |
Current Resume: {resume_content}
|