Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,46 +90,58 @@ def convert_to_json(llm, cv_text, maxtokens, temperature, top_probability):
|
|
| 90 |
You are an expert at structuring resumes in JSON format. Given a modified resume text, extract the relevant details and convert them into the following structured JSON format:
|
| 91 |
|
| 92 |
{
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
"
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
"projects": [
|
| 114 |
{
|
| 115 |
-
"title": "
|
| 116 |
-
"description": "
|
| 117 |
}
|
| 118 |
-
]
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
"
|
| 125 |
-
"location": "[Location]",
|
| 126 |
-
"graduationDate": "[Graduation Date]"
|
| 127 |
}
|
| 128 |
-
],
|
| 129 |
-
"certifications": ["[Certification 1]", "[Certification 2]"] ,
|
| 130 |
-
"extraCurricular": "[Extra Curricular Activities]",
|
| 131 |
-
"achievment": "[Achievements]"
|
| 132 |
-
}
|
| 133 |
|
| 134 |
Instructions:
|
| 135 |
- Extract details accurately from the given resume.
|
|
|
|
| 90 |
You are an expert at structuring resumes in JSON format. Given a modified resume text, extract the relevant details and convert them into the following structured JSON format:
|
| 91 |
|
| 92 |
{
|
| 93 |
+
"profileDetails": {
|
| 94 |
+
"firstName": "",
|
| 95 |
+
"lastName": "",
|
| 96 |
+
"email": "",
|
| 97 |
+
"contact": "",
|
| 98 |
+
"country": "",
|
| 99 |
+
"jobTitle": "",
|
| 100 |
+
"social": "",
|
| 101 |
+
"profileDesc": "",
|
| 102 |
+
"address": "",
|
| 103 |
+
"city": "",
|
| 104 |
+
"state": "",
|
| 105 |
+
"zipCode": ""
|
| 106 |
+
},
|
| 107 |
+
"professionalExperience": [
|
| 108 |
+
{
|
| 109 |
+
"positionTitle": "",
|
| 110 |
+
"location": "",
|
| 111 |
+
"company": "",
|
| 112 |
+
"description": "",
|
| 113 |
+
"startDate": "",
|
| 114 |
+
"endDate": ""
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"education": [
|
| 118 |
+
{
|
| 119 |
+
"institute": "",
|
| 120 |
+
"schoolLocation": "",
|
| 121 |
+
"degree": "",
|
| 122 |
+
"field": "",
|
| 123 |
+
"grade": "",
|
| 124 |
+
"startDate": "",
|
| 125 |
+
"endDate": ""
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"skills": [""],
|
| 129 |
+
"hobbies": [""],
|
| 130 |
+
"languages": [""],
|
| 131 |
+
"certifications": [""],
|
| 132 |
"projects": [
|
| 133 |
{
|
| 134 |
+
"title": "",
|
| 135 |
+
"description": ""
|
| 136 |
}
|
| 137 |
+
],
|
| 138 |
+
"jobPreferences": {
|
| 139 |
+
"compTarget": "",
|
| 140 |
+
"strength": "",
|
| 141 |
+
"roleTarget": ""
|
| 142 |
+
},
|
| 143 |
+
"jobDescription": ""
|
|
|
|
|
|
|
| 144 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
|
| 146 |
Instructions:
|
| 147 |
- Extract details accurately from the given resume.
|