@@ -83,6 +83,28 @@ public class Categories(
83
83
* Violent content that depicts death, violence, or serious physical injury in extreme graphic detail.
84
84
*/
85
85
@SerialName(" violence/graphic" ) public val violenceGraphic : Boolean ,
86
+
87
+ /* *
88
+ * Content that expresses, incites, or promotes harassing language towards any target.
89
+ */
90
+ @SerialName(" harassment" ) public val harassment : Boolean ,
91
+
92
+ /* *
93
+ * Harassment content that also includes violence or serious harm towards any target.
94
+ */
95
+ @SerialName(" harassment/threatening" ) public val harassmentThreatening : Boolean ,
96
+
97
+ /* *
98
+ * Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as
99
+ * suicide, cutting, and eating disorders.
100
+ */
101
+ @SerialName(" self-harm/intent" ) public val selfHarmIntent : Boolean ,
102
+
103
+ /* *
104
+ * Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that
105
+ * gives instructions or advice on how to commit such acts.
106
+ */
107
+ @SerialName(" self-harm/instructions" ) public val selfHarmInstructions : Boolean ,
86
108
)
87
109
88
110
@Serializable
@@ -123,4 +145,24 @@ public class CategoryScores(
123
145
* Violent content that depicts death, violence, or serious physical injury in extreme graphic detail.
124
146
*/
125
147
@SerialName(" violence/graphic" ) public val violenceGraphic : Double ,
148
+
149
+ /* *
150
+ * The score for the category 'harassment'.
151
+ */
152
+ @SerialName(" harassment" ) public val harassment : Double ,
153
+
154
+ /* *
155
+ * The score for the category 'harassment/threatening'.
156
+ */
157
+ @SerialName(" harassment/threatening" ) public val harassmentThreatening : Double ,
158
+
159
+ /* *
160
+ * The score for the category 'self-harm/intent'.
161
+ */
162
+ @SerialName(" self-harm/intent" ) public val selfHarmIntent : Double ,
163
+
164
+ /* *
165
+ * The score for the category 'self-harm/instructions'.
166
+ */
167
+ @SerialName(" self-harm/instructions" ) public val selfHarmInstructions : Double ,
126
168
)
0 commit comments