Spaces:
Sleeping
Sleeping
SyedAzlanzar
commited on
Commit
·
9bbc0fe
1
Parent(s):
a25322d
@debug : prompt 2.0
Browse files- app/services/generator.py +11 -8
app/services/generator.py
CHANGED
@@ -37,8 +37,19 @@ async def generate_cover_letter(data: GenerateRequest, resume_text: str) -> str:
|
|
37 |
|
38 |
## Input Requirements
|
39 |
|
|
|
40 |
- **Job Description (JD):** Complete job posting with requirements, responsibilities, and company information
|
41 |
- **CV/Resume:** Tailored resume specifically prepared for the target role
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
## Output Format
|
44 |
|
@@ -125,14 +136,6 @@ async def generate_cover_letter(data: GenerateRequest, resume_text: str) -> str:
|
|
125 |
|
126 |
Remember: Your goal is to write paragraphs that sounds like it was written by a real person with good English skills, not by AI. Keep it natural, straightforward, and genuine.
|
127 |
|
128 |
-
Job Title:
|
129 |
-
{data.job_title}
|
130 |
-
|
131 |
-
Job Details:
|
132 |
-
{altered_job_details}
|
133 |
-
|
134 |
-
Resume Content:
|
135 |
-
{resume_text}
|
136 |
"""
|
137 |
|
138 |
|
|
|
37 |
|
38 |
## Input Requirements
|
39 |
|
40 |
+
- ** Job Title :** Exact title of the position being applied for
|
41 |
- **Job Description (JD):** Complete job posting with requirements, responsibilities, and company information
|
42 |
- **CV/Resume:** Tailored resume specifically prepared for the target role
|
43 |
+
|
44 |
+
|
45 |
+
Job Title:
|
46 |
+
{data.job_title}
|
47 |
+
|
48 |
+
Job Description:
|
49 |
+
{altered_job_details}
|
50 |
+
|
51 |
+
Resume Content:
|
52 |
+
{resume_text}
|
53 |
|
54 |
## Output Format
|
55 |
|
|
|
136 |
|
137 |
Remember: Your goal is to write paragraphs that sounds like it was written by a real person with good English skills, not by AI. Keep it natural, straightforward, and genuine.
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
"""
|
140 |
|
141 |
|