Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,6 @@ if linkedin_invite or email_invite or whatsapp_invite:
|
|
57 |
|
58 |
# Construct the prompt for analysis
|
59 |
prompt = f"""
|
60 |
-
You are an expert copywriter and hiring manager assistant. Analyze the following details and provide a structured response in the specified format:
|
61 |
|
62 |
Candidate Details:
|
63 |
- Name: {candidate_name}
|
@@ -68,8 +67,11 @@ if linkedin_invite or email_invite or whatsapp_invite:
|
|
68 |
{job_description}
|
69 |
|
70 |
### Tasks:
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
73 |
"""
|
74 |
|
75 |
try:
|
|
|
57 |
|
58 |
# Construct the prompt for analysis
|
59 |
prompt = f"""
|
|
|
60 |
|
61 |
Candidate Details:
|
62 |
- Name: {candidate_name}
|
|
|
67 |
{job_description}
|
68 |
|
69 |
### Tasks:
|
70 |
+
"Write a personalized {message_type.lower()} message for candidate outreach. The message should maintain a {selected_tone.lower()} tone and adhere
|
71 |
+
to professional communication standards.
|
72 |
+
Use the provided candidate details (Name: {candidate_name}, Designation: {candidate_designation}, Skills and Experience: {candidate_details})
|
73 |
+
and the job description ({job_description}) to craft the message.
|
74 |
+
Highlight why the candidate is a strong fit for the role, referencing their skills and experience concerning the job requirements. Ensure the message is engaging, concise, and tailored to the platform ({message_type.lower()})."
|
75 |
"""
|
76 |
|
77 |
try:
|