@umituz/react-native-ai-generation-content 1.72.31 → 1.72.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.72.
|
|
3
|
+
"version": "1.72.33",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -99,36 +99,9 @@ const personalInfoRules: ModerationRule[] = [
|
|
|
99
99
|
},
|
|
100
100
|
];
|
|
101
101
|
|
|
102
|
-
const intimateContentRules: ModerationRule[] = [
|
|
103
|
-
{
|
|
104
|
-
id: "intimate-001",
|
|
105
|
-
name: "Romantic and Intimate Content",
|
|
106
|
-
description: "Detects romantic and intimate content requests",
|
|
107
|
-
contentTypes: ["text"],
|
|
108
|
-
severity: "high",
|
|
109
|
-
violationType: "explicit_content",
|
|
110
|
-
patterns: [
|
|
111
|
-
"\\bkiss(ing|es|ed)?\\b",
|
|
112
|
-
"\\bhug(ging|s|ged)?\\b",
|
|
113
|
-
"\\bromantic\\b",
|
|
114
|
-
"\\bintimate\\b",
|
|
115
|
-
"\\bcouple\\b.*\\b(kissing|hugging|embracing)\\b",
|
|
116
|
-
"\\b(kissing|hugging|embracing)\\b.*\\bcouple\\b",
|
|
117
|
-
"\\blove\\b.*\\bscene\\b",
|
|
118
|
-
"\\bsensual\\b",
|
|
119
|
-
"\\bseductive\\b",
|
|
120
|
-
"\\bpassionate\\b.*\\b(kiss|embrace)\\b",
|
|
121
|
-
"\\btwo people\\b.*\\b(kissing|hugging|embracing)\\b",
|
|
122
|
-
"\\bpeople\\b.*\\b(kissing|hugging|embracing)\\b",
|
|
123
|
-
],
|
|
124
|
-
enabled: true,
|
|
125
|
-
},
|
|
126
|
-
];
|
|
127
|
-
|
|
128
102
|
export const defaultModerationRules: ModerationRule[] = [
|
|
129
103
|
...violenceRules,
|
|
130
104
|
...hateSpeechRules,
|
|
131
105
|
...illegalActivityRules,
|
|
132
106
|
...personalInfoRules,
|
|
133
|
-
...intimateContentRules,
|
|
134
107
|
];
|