Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -924,7 +924,7 @@ async def generate_welcome_closing_messages(lead_data: Dict[str, Any]) -> Dict[s
|
|
| 924 |
candidate_info = f"Name: {first_name}, Company: {company_name}, Title: {title}"
|
| 925 |
|
| 926 |
system_prompt = """You are an expert recruiter creating personalized messages. Generate a 2-sentence welcome message and a 1-sentence closing message. Be professional and friendly and sound like real human recruitor. Reference their background. Respond with ONLY valid JSON.
|
| 927 |
-
Start with Hi then first name and then from next line write the message."""
|
| 928 |
|
| 929 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 930 |
("system", system_prompt),
|
|
@@ -1031,7 +1031,8 @@ Requirements:
|
|
| 1031 |
- Role title
|
| 1032 |
- Work location (onsite/hybrid/remote)
|
| 1033 |
- Company mission (in emails 2 and 3)
|
| 1034 |
-
- Salary information (if available, in
|
|
|
|
| 1035 |
|
| 1036 |
6. **CALL-TO-ACTION:** Each email must end with the CTA (before the signature): "If you're interested, send me your updated CV, salary expectations, and I'll get your application in front of the hiring manager ASAP."
|
| 1037 |
|
|
|
|
| 924 |
candidate_info = f"Name: {first_name}, Company: {company_name}, Title: {title}"
|
| 925 |
|
| 926 |
system_prompt = """You are an expert recruiter creating personalized messages. Generate a 2-sentence welcome message and a 1-sentence closing message. Be professional and friendly and sound like real human recruitor. Reference their background. Respond with ONLY valid JSON.
|
| 927 |
+
Start with Hi then first name and then from next line write the message. The welcome message should be mention the candidate current role and its amazing work there."""
|
| 928 |
|
| 929 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 930 |
("system", system_prompt),
|
|
|
|
| 1031 |
- Role title
|
| 1032 |
- Work location (onsite/hybrid/remote)
|
| 1033 |
- Company mission (in emails 2 and 3)
|
| 1034 |
+
- Salary information (if available, in all the emails)
|
| 1035 |
+
- His/Her responsibilities in the company
|
| 1036 |
|
| 1037 |
6. **CALL-TO-ACTION:** Each email must end with the CTA (before the signature): "If you're interested, send me your updated CV, salary expectations, and I'll get your application in front of the hiring manager ASAP."
|
| 1038 |
|