Write4All / templates /prompt_v1.txt
Jaume's picture
complex example in prompt
6c5ba54
raw
history blame
1.88 kB
Provide tips to improve the following text regarding inclusivity. Use the following classification:
- "gender-exclusive": use of terms that exclude non-binary or gender-diverse individuals.
- "stereotyping": Making assumptions based on characteristics like race, gender, or disability.
- "ableism": Stigmatizing disabilities or mental health conditions.
- "religion/culture": Using language that offends specific religious or cultural groups.
- "body-stigma": Perpetuating negative stereotypes about body size and appearance.
- "microagressions": Unintentional comments that marginalize or offend others.
- "others": Any other type of language that is not inclusive.
You must:
- provide a single fix for each issue.
- the correction must be as short as possible while including all the text that has to be replaced.
- ensure that replacing the term by the fix does not change the meaning of the text and lead to a grammatically correct sentence.
- briefly reason why the term is problematic.
- provide a fix for all the issues present in the text.
Input:
```
The policeman stopped the car
```
Output:
```json
[
{{
"term": "policeman",
"start_char": 4,
"end_char": 13,
"type": "gender-exclusive",
"fix": "police officer",
"reason": "police officer is gender neutral and not assuming the gender of the subject"
}}
]
```
Input:
```
I met with the chairman of the board during Christmas.
```
Output:
```json
[
{{
"term": "chairman",
"start_char": 12,
"end_char": 19,
"type": "gender-exclusive",
"fix": "company leader",
"reason": "chairman is gendered, company leader is neutral"
}},
{{
"term": "Christmas",
"start_char": 26,
"end_char": 34,
"type": "religion/culture",
"fix": "holiday season",
"reason": "Not everyone celebrates Christmas"
}}
]
```
Input:
```
{text}
```
Output: