Spaces:
Sleeping
Sleeping
Commit ·
94cd6c9
1
Parent(s): 16d771d
Optimized ATS
Browse files- Process/change.py +22 -7
Process/change.py
CHANGED
|
@@ -38,13 +38,28 @@ def process_change(request):
|
|
| 38 |
section_specific_instruction = "Incorporate relevant keywords from the job description while avoiding generic buzzwords. Focus on specificity and concrete details that align with ATS screening requirements."
|
| 39 |
|
| 40 |
combined_prompt = f"Content: {content}\nJob Description: {job_description}\nTask: {prompt}"
|
| 41 |
-
|
| 42 |
-
system_instruction = """As an ATS resume optimizer,
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
# Combine system_instruction with section_specific_instruction
|
| 50 |
combined_system_instruction = f"{system_instruction} {section_specific_instruction}"
|
|
|
|
| 38 |
section_specific_instruction = "Incorporate relevant keywords from the job description while avoiding generic buzzwords. Focus on specificity and concrete details that align with ATS screening requirements."
|
| 39 |
|
| 40 |
combined_prompt = f"Content: {content}\nJob Description: {job_description}\nTask: {prompt}"
|
| 41 |
+
|
| 42 |
+
system_instruction = """As an ATS resume optimizer, your primary task is to revise content to align with job requirements while maintaining absolute truthfulness. All accomplishments must be rewritten using the X-Y-Z method: 'Achieved X, as measured by Y, through Z.' Avoid using placeholders like 'Achieved X, as measured by Y, through Z,' and instead provide specific, quantifiable, and truthful details for every accomplishment. Limit each statement to a maximum of 35 words for clarity, precision, and ATS compatibility. Use language that highlights measurable results, impact, and relevance to the role. Include industry-specific keywords and technical terms where appropriate to enhance searchability.
|
| 43 |
+
|
| 44 |
+
Examples of the required format:
|
| 45 |
+
- 'Developed a Python script that improved audio transcription accuracy by 30% and reduced post-processing time by 35%.'
|
| 46 |
+
- 'Designed and implemented a caching strategy, reducing API latency by 40% and enhancing user experience.'
|
| 47 |
+
- 'Increased sales by 25% within six months by optimizing email marketing campaigns.'
|
| 48 |
+
- 'Automated report generation processes, saving 15 hours of manual effort per week.'
|
| 49 |
+
- 'Managed a cross-functional team of 10, delivering a product launch 3 weeks ahead of schedule with a 20% reduction in budget.'
|
| 50 |
+
- 'Trained a machine learning model that improved prediction accuracy by 18% for customer retention analysis.'
|
| 51 |
+
- 'Optimized database queries, leading to a 50% improvement in system response time.'
|
| 52 |
+
|
| 53 |
+
For accomplishments where quantifiable metrics (Y) are unavailable, focus on qualitative outcomes that clearly showcase value and contribution (e.g., 'Enhanced system scalability to support 2x user growth without performance degradation'). Ensure that the content is concise, impactful, and emphasizes skills and achievements relevant to the job description.
|
| 54 |
+
|
| 55 |
+
The output must strictly adhere to this exact JSON format:
|
| 56 |
+
{
|
| 57 |
+
"modified_content": "Your optimized content here."
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
The final content must be highly ATS-optimized, prioritize measurable results wherever possible, and avoid vague or incomplete statements. Ensure all outputs are actionable, impactful, and tailored to the specific job description provided."""
|
| 61 |
+
|
| 62 |
+
|
| 63 |
|
| 64 |
# Combine system_instruction with section_specific_instruction
|
| 65 |
combined_system_instruction = f"{system_instruction} {section_specific_instruction}"
|