WebashalarForML commited on
Commit
2796f50
·
verified ·
1 Parent(s): d20b3e1

Update utils/mistral.py

Browse files
Files changed (1) hide show
  1. utils/mistral.py +5 -5
utils/mistral.py CHANGED
@@ -123,11 +123,11 @@ def Model_PersonalDetails_Output(resume, client):
123
  Extract the text in the following output JSON string as:
124
  {{
125
  "personal": {{
126
- "name": "Extract the full name based on the resume. If not found, return [].",
127
- "contact_number": "Extract the contact number from the resume. If not found, return [].",
128
- "email": "Extract the email address from the resume. If not found, return [].",
129
- "address": "Extract the address or address from the resume. If not found, return [].",
130
- "link": "Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return []."
131
  }}
132
  }}
133
  output:
 
123
  Extract the text in the following output JSON string as:
124
  {{
125
  "personal": {{
126
+ "name": "Extract the full name based on the resume. If not found, return None.",
127
+ "contact_number": "Extract the contact number from the resume. If not found, return None.",
128
+ "email": "Extract the email address from the resume. If not found, return None.",
129
+ "address": "Extract the address or address from the resume. If not found, return None.",
130
+ "link": "Extract any relevant links (e.g., portfolio, LinkedIn) from the resume. If not found, return None."
131
  }}
132
  }}
133
  output: