File size: 2,332 Bytes
a46be16
 
7873388
 
 
 
 
 
 
 
 
a46be16
7873388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161022a
7873388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161022a
7873388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
license: cc-by-nc-4.0
viewer: false
pretty_name: ModerationPrompts
tags:
  - content-moderation
  - prompts
  - llm
  - safety
  - bluesky
  - social-media
---

# ModerationPrompts

System and user prompts used for LLM-based content moderation.
Each prompt instructs a vision-language model to classify a social-media post (text + image(s))
against a safety policy and return a structured JSON decision.

---

## Repository Structure

```
prompts/
  bluesky_policy/           ← prompts grounded in Bluesky community guidelines
    community_guidelines.md     policy document (included verbatim in some prompts)
    prompt_labels.md            
    prompt_labels_details.md    
    prompt_labels_rationale.md  
    prompt_labels_rationale_details.md  
    prompt_labels_fewshot.md           few-shot variant — labelled examples before target post
  meta_policy/              ← prompts grounded in Meta content policy
    all_category_w_explanation.md  all harm categories with detailed explanations
```

---

## Bluesky-Policy Prompts

| File | Includes community guidelines | Label detail level |
|---|:---:|:---:|
| `community_guidelines.md` | — (guidelines doc only) | — |
| `prompt_labels.md` | No | Basic |
| `prompt_labels_details.md` | No | Detailed (with sub-rules) |
| `prompt_labels_rationale.md` | Yes | Basic |
| `prompt_labels_rationale_details.md` | Yes | Detailed (with sub-rules) |
| `prompt_labels_fewshot.md` | No | Basic + few-shot examples |


---

## Meta-Policy Prompts

| File | Policy source | All harm categories | Includes explanations | Requests rationale |
|---|:---:|:---:|:---:|:---:|
| `all_category_w_explanation.md` | Meta community standards | Yes | Yes | Yes |

**`all_category_w_explanation.md`** — full prompt grounded in Meta content
standards. Covers all harm categories with per-category explanations. 

---

## Prompt Format

Each `.md` file contains clearly delimited sections:

```
SYSTEM PROMPT:
<system instruction — role, task, output format constraint>

------------

USER PROMPT:
# **COMMUNITY GUIDELINES**   ← present in _rationale and meta_policy variants
...

# **LABELING POLICY DETAILS**
## **S1**: porn
...

POST CONTENT:
<post text and image placeholder>

OUTPUT FORMAT:
<required JSON schema>
```

---

## License

CC BY-NC 4.0 — non-commercial use only.