Spaces:
Running
Running
SyedAzlanzar
commited on
Commit
·
c232ec4
1
Parent(s):
9bbc0fe
@debug :prompt 2.1
Browse files
app/services/generator.py
CHANGED
@@ -57,14 +57,11 @@ async def generate_cover_letter(data: GenerateRequest, resume_text: str) -> str:
|
|
57 |
|
58 |
Dear {data.company_name},
|
59 |
|
60 |
-
[3 paragraphs]
|
61 |
-
|
62 |
-
|
63 |
## Core Writing Instructions
|
64 |
|
65 |
### Content Strategy (German Market Focus)
|
66 |
|
67 |
-
1. **Opening:** State the position you're applying for and briefly explain your interest in the company
|
68 |
2. **Body:** Focus on what value you bring to the company (not what you can gain from them)
|
69 |
3. **Skills Gap Handling:** If you lack certain required skills, show eagerness to learn and provide examples of quick skill acquisition
|
70 |
4. **Experience Mismatch:** If years of experience don't perfectly match (e.g., job asks 5+, you have ~4.5), emphasize the quality and relevance of your experience
|
@@ -125,7 +122,7 @@ async def generate_cover_letter(data: GenerateRequest, resume_text: str) -> str:
|
|
125 |
|
126 |
Before finalizing, ensure the paragraphs meet these criteria:
|
127 |
|
128 |
-
- [ ] Addresses the specific role and company by name
|
129 |
- [ ] Highlights 2-3 most relevant experiences from the CV
|
130 |
- [ ] Addresses any obvious skill gaps with learning commitment
|
131 |
- [ ] Uses natural, varied language (avoiding the banned word list)
|
|
|
57 |
|
58 |
Dear {data.company_name},
|
59 |
|
|
|
|
|
|
|
60 |
## Core Writing Instructions
|
61 |
|
62 |
### Content Strategy (German Market Focus)
|
63 |
|
64 |
+
1. **Opening:** State the position you're applying for and briefly explain your interest in the company mentioned in the job details
|
65 |
2. **Body:** Focus on what value you bring to the company (not what you can gain from them)
|
66 |
3. **Skills Gap Handling:** If you lack certain required skills, show eagerness to learn and provide examples of quick skill acquisition
|
67 |
4. **Experience Mismatch:** If years of experience don't perfectly match (e.g., job asks 5+, you have ~4.5), emphasize the quality and relevance of your experience
|
|
|
122 |
|
123 |
Before finalizing, ensure the paragraphs meet these criteria:
|
124 |
|
125 |
+
- [ ] Addresses the specific role and company mentioned in the job details by name
|
126 |
- [ ] Highlights 2-3 most relevant experiences from the CV
|
127 |
- [ ] Addresses any obvious skill gaps with learning commitment
|
128 |
- [ ] Uses natural, varied language (avoiding the banned word list)
|