hruday96 commited on
Commit
797951b
·
verified ·
1 Parent(s): 24de1bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- Create a personalized {message_type.lower()} message for candidate outreach. Ensure the tone is {selected_tone.lower()} and aligns with professional standards.
72
- Provide a brief summary of why the candidate is a good fit for the job based on their details.
 
 
 
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: