Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
62 |
-
|
63 |
-
And the following extracted requirements:
|
64 |
-
|
65 |
-
{requirements}
|
66 |
|
67 |
-
|
|
|
68 |
|
69 |
-
|
70 |
|
71 |
-
|
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)
|