hruday96 commited on
Commit
594c8cf
·
verified ·
1 Parent(s): ce4edd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -8
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
- #1. Analyze this Resume: {resume_text}
59
- 2. Analyze this Job Description: {job_description}
60
- 3. Identify the key skills, experience, and qualifications mentioned in the job description.
61
- 4. Compare the above with the details provided in the resume.
62
- 5. Provide a match score based on how well the resume aligns with the job description. Include a brief justification for the score.
63
- 6. Suggest changes in resume to match the job description.
64
- 7. Suggest some topics for interview preparation.
 
 
 
 
 
 
 
 
 
 
 
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)