Confidence, in context.
Choose rules for your platform, with a clear account of what the model assessed.
What the numbers mean
Jmod preserves original provider scores and also maps them to a 1–10 confidence display using round(100 × (1 + 9 × score)) / 100. These ratings are not severity, calibrated probabilities, or evidence that a claim is true.
Ordinary adult swimwear should remain distinct from sexualized or explicit content. That distinction requires a validated rubric or classifier; a confidence rescaling cannot supply it.
Image coverage
| Categories | Image | Text |
|---|---|---|
| sexual, violence, violence/graphic, self-harm, self-harm/intent, self-harm/instructions | Supported | Supported |
| harassment, harassment/threatening, hate, hate/threatening, illicit, illicit/violent, sexual/minors | Unassessed | Supported |
A supplied caption does not make text-only categories cover an image. Jmod does not perform OCR, verify factual claims, or assess defamation.
Optional policy rules
"policy": {
"rules": [
{"category": "sexual", "review_at": 5, "block_at": 8},
{"category": "violence/graphic", "review_at": 4, "block_at": 7}
]
}Thresholds are inclusive and must be within 1–10. At least one cutoff is required per rule; the review cutoff must be lower than the block cutoff when both are set.
- A matching block rule takes precedence.
- A matching review rule, or a rule that cannot cover every supplied input type, requires review.
- Otherwise the recommendation is allow under the supplied rules only.
The provider’s raw flagged value is advisory and does not automatically override your rules. Your platform enforces publication.
Keep the original scores, coverage, and policy with any later human review decision. The current score-only endpoint does not retain content or enqueue reviews.
Saved workspace policies
In your workspace’s Policies section, owners and admins can create named drafts, change category rules, and preview illustrative confidence ratings. Members can inspect and preview. Preview runs locally without uploading content or calling a model. Its boundary and coverage behavior is checked against Rust-generated examples.
Save a draft, test it, then publish an immutable numbered version. Publishing makes the version available; it does not change your backend automatically. Use a workspace key and include this reference in a direct Rust request:
{
"text": "Example submission",
"saved_policy": {
"id": "00000000-0000-4000-8000-000000000001",
"version": 1
}
}Supply either policy or saved_policy, never both. Omitting both keeps the request score-only. The version is required: editing the draft or publishing version 2 cannot change requests pinned to version 1. The response echoes the applied rules and saved_policy reference;policy_version still identifies the evaluator algorithm.
Missing, unpublished, and other-workspace versions return 404. A failed lookup or invalid stored configuration returns 503 with no decision. Keep content pending on either error. Saved policies require customer-key mode; deployment keys can use inline rules. Only requests using a saved policy perform its extra database lookup. No latency claim is made for that lookup.
Drafts use revision checks to prevent concurrent edits from overwriting one another. Reload the saved draft after a conflict. Up to 50 named policies can be created per workspace; edit an existing policy when that limit is reached. Existing published versions remain available while the workspace exists. A review recommendation alone does not create a retained review item. Explicitly add the optional review field to retain a submission.