Spaces:
Sleeping
Sleeping
Update utils/mistral.py
Browse files- utils/mistral.py +3 -3
utils/mistral.py
CHANGED
@@ -73,10 +73,10 @@ def Model_ProfessionalDetails_Output(resume, client):
|
|
73 |
"technical_skills": ["List all technical skills, programming languages, frameworks, and technologies mentioned in the resume, ensuring they are not mixed with other skill types. If not found, return []"],
|
74 |
"non_technical_skills": ["List all non-technical skills such as leadership, teamwork, and communication skills, ensuring they are not mixed with technical skills. If not found, return []"],
|
75 |
"tools": ["List and extract all software tools, platforms, and applications referenced in the resume, distinctly separate from skills. If not found, return []"],
|
76 |
-
"companies_worked_at": ["List and Extract all companies where the person has worked, as mentioned in the resume. If not found, return []"],
|
77 |
"projects": ["Extract all projects names or titles mentioned in the resume. If not found, return []"],
|
78 |
"projects_experience": ["Summarize overall project experiences in a list, providing a brief description of each project as detailed in the resume. If not found, return []"],
|
79 |
-
"experience": ["Calculate the total work experience in years
|
80 |
"roles": ["List and Extract all job titles or roles of the person, as mentioned in the resume. If not found, return []"]
|
81 |
}}
|
82 |
}}
|
@@ -155,7 +155,7 @@ def Model_PersonalDetails_Output(resume, client):
|
|
155 |
"name": ["Extract the full name based on the resume. If not found, return []."],
|
156 |
"contact_number": ["Extract the contact number from the resume. If not found, return []."],
|
157 |
"email": ["Extract the email address from the resume. If not found, return []."],
|
158 |
-
"address": ["Extract the address or address
|
159 |
"link": ["Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return [].]"
|
160 |
}}
|
161 |
}}
|
|
|
73 |
"technical_skills": ["List all technical skills, programming languages, frameworks, and technologies mentioned in the resume, ensuring they are not mixed with other skill types. If not found, return []"],
|
74 |
"non_technical_skills": ["List all non-technical skills such as leadership, teamwork, and communication skills, ensuring they are not mixed with technical skills. If not found, return []"],
|
75 |
"tools": ["List and extract all software tools, platforms, and applications referenced in the resume, distinctly separate from skills. If not found, return []"],
|
76 |
+
"companies_worked_at": ["List and Extract all companies or industries where the person has worked, as mentioned in the resume. If not found, return []"],
|
77 |
"projects": ["Extract all projects names or titles mentioned in the resume. If not found, return []"],
|
78 |
"projects_experience": ["Summarize overall project experiences in a list, providing a brief description of each project as detailed in the resume. If not found, return []"],
|
79 |
+
"experience": ["Calculate and give the total work experience in years, even if overlapping as mentioned in the resume. If not found, return []"],
|
80 |
"roles": ["List and Extract all job titles or roles of the person, as mentioned in the resume. If not found, return []"]
|
81 |
}}
|
82 |
}}
|
|
|
155 |
"name": ["Extract the full name based on the resume. If not found, return []."],
|
156 |
"contact_number": ["Extract the contact number from the resume. If not found, return []."],
|
157 |
"email": ["Extract the email address from the resume. If not found, return []."],
|
158 |
+
"address": ["Extract the address or address as mentioned in the resume. If not found, return []."],
|
159 |
"link": ["Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return [].]"
|
160 |
}}
|
161 |
}}
|