Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,15 +53,25 @@ if resume_text and job_description:
|
|
53 |
|
54 |
# Construct the prompt for analysis
|
55 |
prompt = f"""
|
56 |
-
You are an expert recruiter and hiring manager assistant. Analyze the following details and provide a match score (0-10) for how well the resume matches the job description:
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
"""
|
66 |
|
67 |
# Call the Gemini API (using google-generativeai)
|
|
|
53 |
|
54 |
# Construct the prompt for analysis
|
55 |
prompt = f"""
|
|
|
56 |
|
57 |
+
You are an expert recruiter and hiring manager assistant. Analyze the following details and provide a structured response in the specified format:
|
58 |
+
|
59 |
+
1. Resume: {resume_text}
|
60 |
+
2. Job Description: {job_description}
|
61 |
+
|
62 |
+
### Tasks:
|
63 |
+
1. Identify the key skills, experiences, and qualifications mentioned in the Job Description.
|
64 |
+
2. Compare the above with the details provided in the Resume.
|
65 |
+
3. Provide a match score (out of 10) based on how well the Resume aligns with the Job Description.
|
66 |
+
4. Offer a detailed justification for the match score.
|
67 |
+
5. Suggest changes to improve the Resume so that it matches the Job Description better.
|
68 |
+
6. Recommend relevant topics for interview preparation based on the Job Description.
|
69 |
+
|
70 |
+
### Response Format:
|
71 |
+
1. Match Score: [Provide a score out of 10]
|
72 |
+
2. Justification: [Provide a detailed analysis of how well the resume matches the job description]
|
73 |
+
3. Resume Suggestions: [List actionable changes to align the resume with the job description]
|
74 |
+
4. Interview Preparation Topics: [List relevant topics for interview preparation]
|
75 |
"""
|
76 |
|
77 |
# Call the Gemini API (using google-generativeai)
|