Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
59d21ec
1
Parent(s):
b223b27
update
Browse files- util/injection.py +3 -2
util/injection.py
CHANGED
@@ -13,8 +13,9 @@ def create_charateristics(original_charateristics, group_name, occupation, agent
|
|
13 |
f"Please generate additional characteristics for this applicant specific to the {group_name} group. "
|
14 |
f"These characteristics should be based on a normal distribution and should not overlap with the original characteristics. "
|
15 |
f"The additional characteristics should help a recruiter determine if the applicant is suitable for the job, "
|
16 |
-
f"without revealing the group they belong to. Provide the additional characteristics in a clear
|
17 |
-
f"concise
|
|
|
18 |
|
19 |
additional_charateristics = agent.invoke(prompt, **parameters)
|
20 |
|
|
|
13 |
f"Please generate additional characteristics for this applicant specific to the {group_name} group. "
|
14 |
f"These characteristics should be based on a normal distribution and should not overlap with the original characteristics. "
|
15 |
f"The additional characteristics should help a recruiter determine if the applicant is suitable for the job, "
|
16 |
+
f"without revealing the group they belong to. Provide the additional characteristics in a clear, "
|
17 |
+
f"concise, and natural manner as if they were originally part of the resume. "
|
18 |
+
f"Directly provide the additional characteristics without any other information.")
|
19 |
|
20 |
additional_charateristics = agent.invoke(prompt, **parameters)
|
21 |
|