Spaces:
Sleeping
Sleeping
Update contentprompts.yml
Browse files- contentprompts.yml +10 -1
contentprompts.yml
CHANGED
|
@@ -26,12 +26,21 @@
|
|
| 26 |
---
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|
|
|
|
| 26 |
---
|
| 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 additional evaluation.
|
| 30 |
+
|
| 31 |
+
Code:
|
| 32 |
+
```py
|
| 33 |
+
label = polite_guard("I hate this group of people and wish they would disappear.")
|
| 34 |
+
print(label)
|
| 35 |
+
```<end_code>
|
| 36 |
+
|
| 37 |
+
Observation: "The text is impolite with a score of 0.95."
|
| 38 |
|
| 39 |
---
|
| 40 |
Task: "How would you evaluate the following paragraph for a cover letter? Is it polite?"
|
| 41 |
|
| 42 |
Thought: I will use the polite_guard tools to see if this paragraph follows professional and clear patterns.
|
| 43 |
+
|
| 44 |
Code:
|
| 45 |
```py
|
| 46 |
|