Spaces:
Sleeping
Sleeping
WebashalarForML
commited on
Commit
•
b6eccd9
1
Parent(s):
3c5c7f9
Update utility/utils.py
Browse files- utility/utils.py +3 -0
utility/utils.py
CHANGED
@@ -439,6 +439,7 @@ def process_resume_data(LLMdata,cont_data,extracted_text):
|
|
439 |
"extracted_text": extracted_text
|
440 |
}
|
441 |
#LLM
|
|
|
442 |
processed_data['name'].extend(LLMdata.get('Name', []))
|
443 |
#processed_data['contact_number'].extend(LLMdata.get('Contact', []))
|
444 |
processed_data['Designation'].extend(LLMdata.get('Designation', []))
|
@@ -446,10 +447,12 @@ def process_resume_data(LLMdata,cont_data,extracted_text):
|
|
446 |
processed_data['Location'].extend(LLMdata.get('Address', []))
|
447 |
#processed_data['Link'].extend(LLMdata.get('Link', []))
|
448 |
processed_data['Company'].extend(LLMdata.get('Company', []))
|
|
|
449 |
#Contact
|
450 |
#processed_data['email'].extend(cont_data.get("emails", []))
|
451 |
#processed_data['contact_number'].extend(cont_data.get("phone_numbers", []))
|
452 |
#processed_data['Link'].extend(cont_data.get("links_RE", []))
|
|
|
453 |
#New_merge_data
|
454 |
processed_data['email'].extend(LLMdata['Email'])
|
455 |
processed_data['contact_number'].extend(LLMdata['Contact'])
|
|
|
439 |
"extracted_text": extracted_text
|
440 |
}
|
441 |
#LLM
|
442 |
+
|
443 |
processed_data['name'].extend(LLMdata.get('Name', []))
|
444 |
#processed_data['contact_number'].extend(LLMdata.get('Contact', []))
|
445 |
processed_data['Designation'].extend(LLMdata.get('Designation', []))
|
|
|
447 |
processed_data['Location'].extend(LLMdata.get('Address', []))
|
448 |
#processed_data['Link'].extend(LLMdata.get('Link', []))
|
449 |
processed_data['Company'].extend(LLMdata.get('Company', []))
|
450 |
+
|
451 |
#Contact
|
452 |
#processed_data['email'].extend(cont_data.get("emails", []))
|
453 |
#processed_data['contact_number'].extend(cont_data.get("phone_numbers", []))
|
454 |
#processed_data['Link'].extend(cont_data.get("links_RE", []))
|
455 |
+
|
456 |
#New_merge_data
|
457 |
processed_data['email'].extend(LLMdata['Email'])
|
458 |
processed_data['contact_number'].extend(LLMdata['Contact'])
|