Spaces:
Build error
Build error
Update prompt_template.py
Browse files- prompt_template.py +18 -40
prompt_template.py
CHANGED
|
@@ -52,46 +52,24 @@ Resume: {text}
|
|
| 52 |
"""
|
| 53 |
|
| 54 |
template_format_instructions = """
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
2. Work: Extract all organization names where he/she has worked along with the position held, and the duration of employment.
|
| 63 |
-
Predicted Skills : Also extract skills based on the work experience.
|
| 64 |
-
Standardized Job Title: Identify the standardized job title for each work experience.
|
| 65 |
-
Standardized Job Title: Identify the standardized job title for each work experience.Skills based on work experience
|
| 66 |
-
|
| 67 |
-
Organization Name, Location, Position, Start Date - End Date 'and separate multiple entries with a comma.
|
| 68 |
-
"Job Title: " Identify the job title for each work experience. Clean and strip them off suffixes, prefixes and seniority.
|
| 69 |
-
|
| 70 |
3. Projects: Extract the details of the projects the candidate has worked on.
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
5.Techstack: Identify the technolgies used from skills and predcited skills.
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
6.Career Trajectory: Identify the career progression of the candidate based on their work experience.
|
| 87 |
-
separate multiple entries with a -> . Career Trajectory should be in ascending order with respect to date of joining.
|
| 88 |
-
eg1 : "Data Analyst -> Data Scientist -> Senior Data Scientist"
|
| 89 |
-
eg2 : "School Name -> College Name -> University Name -> Job Title -> Job Title"
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
Resume: {text}
|
| 94 |
-
|
| 95 |
\n{format_instructions}\n
|
| 96 |
-
|
| 97 |
-
"""
|
|
|
|
| 52 |
"""
|
| 53 |
|
| 54 |
template_format_instructions = """
|
| 55 |
+
1. Education: Extract the name of all universities/colleges attended by the candidate with their CGPA. Separate multiple entries with a new line.
|
| 56 |
+
2. Work: Extract all organization names where he/she has worked along with the position held and the duration of employment.
|
| 57 |
+
Predicted Skills: Also extract skills based on the work experience.
|
| 58 |
+
Standardized Job Title: Identify the standardized job title for each work experience.
|
| 59 |
+
Organization Name, Location, Position, Start Date - End Date. Separate multiple entries with a comma.
|
| 60 |
+
"Job Title:" Identify the job title for each work experience. Clean and strip them of suffixes, prefixes, and seniority.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
3. Projects: Extract the details of the projects the candidate has worked on.
|
| 62 |
+
"Project Name, Start Date - End Date, Project Description". Separate multiple entries with a comma and a new line for each project.
|
| 63 |
+
"Predicted Skills:" Separate multiple entries with a comma for each project.
|
| 64 |
+
Note: Project Description should be 30 to 40 words.
|
| 65 |
+
Note: Separate each project with a new line.
|
| 66 |
+
4. Skills: Identify the technical and non-technical skills associated with each work experience and project.
|
| 67 |
+
5. Techstack: Identify the technologies used from skills and predicted skills.
|
| 68 |
+
6. Career Trajectory: Identify the career progression of the candidate based on their work experience.
|
| 69 |
+
Separate multiple entries with a "->". Career Trajectory should be in ascending order with respect to the date of joining.
|
| 70 |
+
eg1: "Data Analyst -> Data Scientist -> Senior Data Scientist"
|
| 71 |
+
eg2: "School Name -> College Name -> University Name -> Job Title -> Job Title"
|
| 72 |
+
Warning: Ensure consistent extraction of skills by providing clear context and examples in the resume. Use standardized terms for skills.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
Resume: {text}
|
|
|
|
| 74 |
\n{format_instructions}\n
|
| 75 |
+
"""
|
|
|