cover letter bug fixed

This commit is contained in:
feder-cr 2024-08-12 23:00:55 +01:00
parent 2531f9c824
commit 2dcd7943e8
3 changed files with 21 additions and 24 deletions

View file

@ -399,29 +399,26 @@ This comprehensive overview will serve as a guideline for the recruitment proces
coverletter_template = """
The following is a resume, a job description, and an answered question using this information, being answered by the person who's resume it is (first person).
Compose a brief and impactful cover letter based on the provided job description and resume. The letter should be no longer than three paragraphs and should be written in a professional, yet conversational tone. Avoid using any placeholders, and ensure that the letter flows naturally and is tailored to the job.
## Rules
- Answer questions directly.
- If seems likely that you have the experience, even if is not explicitly defined, answer as if you have the experience.
- Find relations between the job description and the resume, and answer questions about that.
- Only add periods if the answer has multiple sentences/paragraphs.
- If the question is "cover letter," answer with a cover letter based on job_description, but using my resume details
Analyze the job description to identify key qualifications and requirements. Introduce the candidate succinctly, aligning their career objectives with the role. Highlight relevant skills and experiences from the resume that directly match the jobs demands, using specific examples to illustrate these qualifications. Reference notable aspects of the company, such as its mission or values, that resonate with the candidates professional goals. Conclude with a strong statement of why the candidate is a good fit for the position, expressing a desire to discuss further.
Please write the cover letter in a way that directly addresses the job role and the companys characteristics, ensuring it remains concise and engaging without unnecessary embellishments. The letter should be formatted into paragraphs and should not include a greeting or signature.
## Rules:
- Provide only the text of the cover letter.
- Do not include any introductions, explanations, or additional information.
- The letter should be formatted into paragraph.
## Job Description:
```
{job_description}
```
## My resume:
```
{resume}
```
## Question:
{question}
## """
"""
resume_stuff_template = """