Update app.py
Browse files
app.py
CHANGED
|
@@ -169,6 +169,8 @@ def generate_interview_invitation(df: pd.DataFrame, job_title: str) -> str:
|
|
| 169 |
**Candidate Background:** {candidate_seniority} {candidate_role} with {years_exp} years of experience in {candidate_industry}
|
| 170 |
**Key Skills:** {skill_text}
|
| 171 |
**Match Score:** {match_score:.1%}
|
|
|
|
|
|
|
| 172 |
|
| 173 |
**Requirements:**
|
| 174 |
- Start with a warm greeting
|
|
@@ -179,6 +181,8 @@ def generate_interview_invitation(df: pd.DataFrame, job_title: str) -> str:
|
|
| 179 |
- End with a warm closing
|
| 180 |
- Keep it 150-200 words
|
| 181 |
- Write in a {selected_tone} tone
|
|
|
|
|
|
|
| 182 |
|
| 183 |
Write ONLY the letter body, no subject line."""
|
| 184 |
|
|
|
|
| 169 |
**Candidate Background:** {candidate_seniority} {candidate_role} with {years_exp} years of experience in {candidate_industry}
|
| 170 |
**Key Skills:** {skill_text}
|
| 171 |
**Match Score:** {match_score:.1%}
|
| 172 |
+
**Candidate ID:** {top_candidate.get('resume_id', 'N/A')}
|
| 173 |
+
|
| 174 |
|
| 175 |
**Requirements:**
|
| 176 |
- Start with a warm greeting
|
|
|
|
| 181 |
- End with a warm closing
|
| 182 |
- Keep it 150-200 words
|
| 183 |
- Write in a {selected_tone} tone
|
| 184 |
+
- Do NOT use placeholder names like [Candidate Name] or [Your Name] - use the actual ID and name provided
|
| 185 |
+
|
| 186 |
|
| 187 |
Write ONLY the letter body, no subject line."""
|
| 188 |
|