AdithyaSNair commited on
Commit
a1320e5
·
verified ·
1 Parent(s): feca185

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -11
app.py CHANGED
@@ -54,23 +54,19 @@ def extract_requirements(job_description):
54
  # Function to generate an email using ChatGroq
55
  def generate_email(job_description, requirements, resume_text):
56
  prompt_text = f"""
57
- You are Mohan, a business development executive at AtliQ, an AI & Software Consulting company dedicated to facilitating the seamless integration of business processes through automated tools. AtliQ has empowered numerous enterprises with tailored solutions, fostering scalability, process optimization, cost reduction, and heightened overall efficiency.
58
-
59
  Given the following job description:
 
60
 
61
- {job_description}
62
-
63
- And the following extracted requirements:
64
-
65
- {requirements}
66
 
67
- And the following resume text:
 
68
 
69
- {resume_text}
70
 
71
- Write a cold email to the client regarding the job mentioned above, describing the capability of AtliQ in fulfilling their needs, and how your skills align with their requirements. Remember you are Mohan, BDE at AtliQ. Do not provide a preamble.
72
 
73
- Email:
74
  """
75
 
76
  prompt = PromptTemplate.from_template(prompt_text)
 
54
  # Function to generate an email using ChatGroq
55
  def generate_email(job_description, requirements, resume_text):
56
  prompt_text = f"""
 
 
57
  Given the following job description:
58
+ {job_description}
59
 
60
+ And the following extracted requirements:
61
+ {requirements}
 
 
 
62
 
63
+ And the following resume text:
64
+ {resume_text}
65
 
66
+ Write a cold email as Adithya S Nair, a recent graduate in Computer Science with a focus on Artificial Intelligence and Machine Learning. Highlight your relevant skills and experiences from the resume, emphasizing how you, as a fresher, can bring value to the client’s company. Mention key projects, internships, and any leadership experiences that align with the job description and requirements. Ensure the email is concise and professional.
67
 
68
+ Email:
69
 
 
70
  """
71
 
72
  prompt = PromptTemplate.from_template(prompt_text)