From 66bfaa989a9202b010633f0cc0ff7b2622cddcbf Mon Sep 17 00:00:00 2001 From: Saurabh Zinjad Date: Sat, 17 Aug 2024 13:28:47 -0700 Subject: [PATCH] ENH: Update cover letter generation to align with job requirements and guidelines --- .gitignore | 3 ++- zlm/prompts/generate-cover-letter.txt | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c2bd331..71b42f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ __pycache__ .env output -*.DS_Store \ No newline at end of file +*.DS_Store +dist \ No newline at end of file diff --git a/zlm/prompts/generate-cover-letter.txt b/zlm/prompts/generate-cover-letter.txt index a1acbd2..92ca06f 100644 --- a/zlm/prompts/generate-cover-letter.txt +++ b/zlm/prompts/generate-cover-letter.txt @@ -1,13 +1,16 @@ -I will provide a job description and my work information in JSON format. -Your task is to analyze and match my information with the job's requirements. -Then, you need to create the best possible cover letter to align my information with the job description and company description. +# Task: create a compelling, concise cover letter that aligns my experience with the job and company description. -Output Format: -Dear Hiring Manager +# Task Description: I will provide a job description and my professional information in JSON format. Your task is to analyze and match my qualifications with the job requirements. Then, create cover letter. -``` -YOUR REPONSE HERE -``` +# Guidelines: +- Highlight my unique qualifications for this specific role and company culture in a concise bulleted list for easy readability. +- Focus on the value I can bring to the employer, including 1-2 specific examples of relevant achievements. +- Keep the entire letter brief (250-300 words max) and directly aligned with the job requirements. +Do not repeat information verbatim from my resume. Instead, elaborate on or provide context for key points. + +# Output Format: +Dear Hiring Manager, +[Your response here] Sincerely, - \ No newline at end of file +[My Name from the provided JSON] \ No newline at end of file