File tree Expand file tree Collapse file tree
src/main/java/com/unfbx/chatgpt/entity/moderations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,4 +47,24 @@ public class Categories implements Serializable {
4747 */
4848 @ JsonProperty ("violence/graphic" )
4949 private boolean violenceGraphic ;
50+ /**
51+ * 对任何目标表达、煽动或宣扬骚扰性语言的内容。
52+ */
53+ @ JsonProperty ("harassment" )
54+ private boolean harassment ;
55+ /**
56+ * 骚扰内容还包括对任何目标的暴力或严重伤害。
57+ */
58+ @ JsonProperty ("harassment/threatening" )
59+ private boolean harassmentThreatening ;
60+ /**
61+ * 说话者表示他们正在或打算进行自残行为的内容,例如自杀、割伤和饮食失调。
62+ */
63+ @ JsonProperty ("self-harm/intent" )
64+ private boolean selfHarmIntent ;
65+ /**
66+ * 鼓励进行自残行为(例如自杀、割伤和饮食失调)的内容,或者提供有关如何实施此类行为的说明或建议的内容。
67+ */
68+ @ JsonProperty ("self-harm/instructions" )
69+ private boolean selfHarmInstructions ;
5070}
Original file line number Diff line number Diff line change @@ -28,4 +28,24 @@ public class CategoryScores implements Serializable {
2828 @ JsonProperty ("violence/graphic" )
2929 private BigDecimal violenceGraphic ;
3030
31+ /**
32+ * 对任何目标表达、煽动或宣扬骚扰性语言的内容。
33+ */
34+ @ JsonProperty ("harassment" )
35+ private BigDecimal harassment ;
36+ /**
37+ * 骚扰内容还包括对任何目标的暴力或严重伤害。
38+ */
39+ @ JsonProperty ("harassment/threatening" )
40+ private BigDecimal harassmentThreatening ;
41+ /**
42+ * 说话者表示他们正在或打算进行自残行为的内容,例如自杀、割伤和饮食失调。
43+ */
44+ @ JsonProperty ("self-harm/intent" )
45+ private BigDecimal selfHarmIntent ;
46+ /**
47+ * 鼓励进行自残行为(例如自杀、割伤和饮食失调)的内容,或者提供有关如何实施此类行为的说明或建议的内容。
48+ */
49+ @ JsonProperty ("self-harm/instructions" )
50+ private BigDecimal selfHarmInstructions ;
3151}
You can’t perform that action at this time.
0 commit comments