astro21 commited on
Commit
cabbca5
·
verified ·
1 Parent(s): 93f003a

Update prompt_template.py

Browse files
Files changed (1) hide show
  1. prompt_template.py +18 -40
prompt_template.py CHANGED
@@ -52,46 +52,24 @@ Resume: {text}
52
  """
53
 
54
  template_format_instructions = """
55
- For the following text, extract the following information:
56
-
57
- Warning: Don't greet or write any introduction. Just start with the answer to the prompts. Do as per the instructions given in the prompt. If you don't know the answer, leave that part (keep blank) and move to the next part.
58
-
59
- 1. Education: Extract the name of the all universities/colleges attended by the candidate with there CGPA and separate multiple entries with new line
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
- "Project Name, Start Date - End Date, Project Description " and separate multiple entries with a comma and a new line for each project. (
72
- " Predicted Skills : " and separate multiple entries with a comma for each project.
73
- Note: Project Description should be in 30 to 40 words
74
- Note: Separate each project with a new line.
75
- Warning: Don't print "Project Name, Start Date - End Date, Project Description" as it is (text) in the output .
76
-
77
-
78
-
79
-
80
-
81
- 4.Skills: Identify the technical and non-technical skills associated with each work experience and project.
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
+ """