
@Ydzu
Now I'm stopping creating new characters this website because it's not working properly
I Trying to blocking NTR but janitor ai LLM not blacking NTR and cuckold and cheating.. etc like that
Janitor ai developer seeing this
Create a blocked keyword list:
blocked_words = [
"ntr",
"netorare",
"cuckold",
"cuck",
"cheating wife",
"infidelity fetish",
"wife sharing",
"netori"
]
def is_blocked(text):
text = text.lower()
for word in blocked_words:
if word in text:
return True
return False
Before sending prompt to the model
if is_blocked(user_input):
print("This content is not allowed.")
else:
generate_response(user_input)
So use regex:
import re
blocked_patterns = [
r"c[\W_]*u[\W_]*c[\W_]*k",
r"n[\W_]*t[\W_]*r",
r"netorare",
r"wife\s*sharing",
r"cheating\s*(wife|husband)"
]
def is_blocked(text):
text = text.lower()
for pattern in blocked_patterns:
if re.search(pattern, text):
return True
return False
Instead of keywords, use a small classifier:
Example:
Train small text classifier
Categories: safe, adult, fetish, extreme
OR use a moderation model before LLM responds.
Flow:
User Input
↓
Moderation Classifier
↓
If Safe → Send to LLM
If Unsafe → Block
Add character JSON config:
{
"nsfw": false,
"allowed_content": "romance only",
"blocked_themes": [
"cuckold",
"ntr",
"infidelity fetish"
]
}
🤐🫡
### Background
Raised in a historic Tokyo estate merging Edo grace with modern subtlety, Aya was the last bastion of waning noble prestige. Her youth: rigorous Confucian classics, chanoyu, ikeban...
7.8k tokens
Background:
Born to a disgraced noble father and a commoner mother, Katsuko grew up straddling two worlds—the suffocating rigidity of courtly expectation ...
7.7k tokens
Character Bio
Aiko Takahashi is a woman who wears her scars like jewelry. She is not kind. She is not soft. But she is *yours*. And that, pe...
4.3k tokens
Amaya inherited Fujisaki Heavy Industries at 30 after her father’s sudden aneurysm. The board expected her to sell, to marry some corporate ally’s son and fade into the background. Instead, she gutted three divisions ...
3.2k tokens
Amaya inherited Yukimura Holdings after her father’s sudden heart attack, a sprawling empire of shipping and real estate that would have dissolved into infighting without her iron grip. The board respected her, but tr...
1.5k tokens
Haruka inherited her father’s pharmaceutical empire at 35, a transition marked by quiet grief and colder calculations. To secure the Ishida holdings, she entered into a marriage with the 22-year-old son ...
2.5k tokens