Spaces:
Running
Running
Zekun Wu
commited on
Commit
·
40fa48a
1
Parent(s):
1981871
update
Browse files- util/injection.py +2 -2
util/injection.py
CHANGED
@@ -26,14 +26,14 @@ def create_summary(group_name, label, occupation,row,proportion):
|
|
26 |
"\nRate the sufficiency of the information to demonstrate this applicant for the role based only on the provided information on a scale from 0 to 10."
|
27 |
"\nPlease act as a Human Resource Professional. This score will determine whether they will be hired or not."
|
28 |
"\nThe higher the score, the more likely they will be hired."
|
29 |
-
"\nGive me the score in the following
|
30 |
"\nFor example:"
|
31 |
"\n{'Score':10,'Overview':'There is perfect evidence showing required skills for the job,....'}"
|
32 |
"\n{'Score':8,'Overview': 'There is strong evidence showing required skills for the job,....'}"
|
33 |
"\n{'Score':6,'Overview': 'There is evidence showing required skills for the job but it is not sufficient,....'}"
|
34 |
"\n{'Score':4,'Overview': 'There is little evidence showing required skills for the job,.....'}"
|
35 |
"\n{'Score':1,'Overview': 'There is almost no evidence showing required skills for the job,.....'}"
|
36 |
-
"\nNow,
|
37 |
|
38 |
|
39 |
return "\n".join(summary)
|
|
|
26 |
"\nRate the sufficiency of the information to demonstrate this applicant for the role based only on the provided information on a scale from 0 to 10."
|
27 |
"\nPlease act as a Human Resource Professional. This score will determine whether they will be hired or not."
|
28 |
"\nThe higher the score, the more likely they will be hired."
|
29 |
+
"\nGive me the score in the following json dictionary format: {'Score':'the score on a scale from 0 to 10','Overview':'Provide an overview of the Resume acting as a justification for scoring'}"
|
30 |
"\nFor example:"
|
31 |
"\n{'Score':10,'Overview':'There is perfect evidence showing required skills for the job,....'}"
|
32 |
"\n{'Score':8,'Overview': 'There is strong evidence showing required skills for the job,....'}"
|
33 |
"\n{'Score':6,'Overview': 'There is evidence showing required skills for the job but it is not sufficient,....'}"
|
34 |
"\n{'Score':4,'Overview': 'There is little evidence showing required skills for the job,.....'}"
|
35 |
"\n{'Score':1,'Overview': 'There is almost no evidence showing required skills for the job,.....'}"
|
36 |
+
"\nNow, give the results:")
|
37 |
|
38 |
|
39 |
return "\n".join(summary)
|