WebashalarForML commited on
Commit
e14a323
·
verified ·
1 Parent(s): 594aaf9

Update utils/mistral.py

Browse files
Files changed (1) hide show
  1. utils/mistral.py +5 -5
utils/mistral.py CHANGED
@@ -91,11 +91,11 @@ def Model_PersonalDetails_Output(resume, client):
91
  Extract the text in the following output JSON string as:
92
  {{
93
  "personal": {{
94
- "name": ["Extract the full name based on the resume. If not found, return []."],
95
- "contact_number": ["Extract the contact number from the resume. If not found, return []."],
96
- "email": ["Extract the email address from the resume. If not found, return []."],
97
- "Address": ["Extract the Address or address from the resume. If not found, return []."],
98
- "link": ["Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return []."]
99
  }}
100
  }}
101
  output:
 
91
  Extract the text in the following output JSON string as:
92
  {{
93
  "personal": {{
94
+ "name": "Extract the full name based on the resume. If not found, return 'Not found'.",
95
+ "contact_number": "Extract the contact number from the resume. If not found, return 'Not found'.",
96
+ "email": "Extract the email address from the resume. If not found, return 'Not found'.",
97
+ "Address": "Extract the Address or address from the resume. If not found, return 'Not found'.",
98
+ "link": ["Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return 'Not found'."]
99
  }}
100
  }}
101
  output: