Spaces:
Running
Running
Update contentprompts.yml
Browse files- contentprompts.yml +5 -2
contentprompts.yml
CHANGED
@@ -27,15 +27,17 @@
|
|
27 |
Task: "Rate this comment for appropriateness: 'I hate this group of people and wish they would disappear.'"
|
28 |
|
29 |
Thought: I will use the polite_guard tools to evaluate the text and keep track of the polite_guard score. Even if you determine that content is negative and harmful, still use the polite_guard tool to get an additonal evaluation.
|
30 |
-
|
31 |
---
|
32 |
Task: "How would you evaluate the following paragraph for a cover letter? Is it polite?"
|
33 |
|
34 |
Thought: I will use the polite_guard tools to see if this paragraph follows professional and clear patterns.
|
35 |
Code:
|
36 |
```py
|
|
|
37 |
label, score = polite_guard("Provided professional services for enterprise clients. Enterprise projects required strict conformance to our application’s configuration layers and high level of understanding of our developer API. Deliver on promises. Meeting industry standards and ensuring the resulting systems met business requirements")
|
38 |
-
|
|
|
39 |
print(f"It is labeled as {label} with a score of {score}.")
|
40 |
```<end_code>
|
41 |
|
@@ -44,6 +46,7 @@
|
|
44 |
Thought: Let me provide a comprehensive answer about the best way to communicate about difficult subjects.
|
45 |
Code:
|
46 |
```py
|
|
|
47 |
final_answer(f"Ensure that you are following a code of conduct and know that your online words are helpful rather than accusatory. Avoid namecalling and consider asking more questions than making definitive statements.")
|
48 |
```<end_code>
|
49 |
|
|
|
27 |
Task: "Rate this comment for appropriateness: 'I hate this group of people and wish they would disappear.'"
|
28 |
|
29 |
Thought: I will use the polite_guard tools to evaluate the text and keep track of the polite_guard score. Even if you determine that content is negative and harmful, still use the polite_guard tool to get an additonal evaluation.
|
30 |
+
|
31 |
---
|
32 |
Task: "How would you evaluate the following paragraph for a cover letter? Is it polite?"
|
33 |
|
34 |
Thought: I will use the polite_guard tools to see if this paragraph follows professional and clear patterns.
|
35 |
Code:
|
36 |
```py
|
37 |
+
|
38 |
label, score = polite_guard("Provided professional services for enterprise clients. Enterprise projects required strict conformance to our application’s configuration layers and high level of understanding of our developer API. Deliver on promises. Meeting industry standards and ensuring the resulting systems met business requirements")
|
39 |
+
print(label)
|
40 |
+
print(score)
|
41 |
print(f"It is labeled as {label} with a score of {score}.")
|
42 |
```<end_code>
|
43 |
|
|
|
46 |
Thought: Let me provide a comprehensive answer about the best way to communicate about difficult subjects.
|
47 |
Code:
|
48 |
```py
|
49 |
+
|
50 |
final_answer(f"Ensure that you are following a code of conduct and know that your online words are helpful rather than accusatory. Avoid namecalling and consider asking more questions than making definitive statements.")
|
51 |
```<end_code>
|
52 |
|