MIGRATION GUIDE
Migrate from OpenAI Moderation to Sentiqra.
OpenAI Moderation is free and easy to start with. But when you need multilingual coverage, granular policy mapping, or reproducible audit trails - it's time to migrate.
Before and after
const response = await openai.moderations.create({
input: "You're an idiot and I hope you fail."
});
// Response: 11 broad categories
// {
// "results": [{
// "categories": { "harassment": true, ... },
// "category_scores": { "harassment": 0.92, ... }
// }]
// }
const response = await sentiqra.analyze({
text: "You're an idiot and I hope you fail.",
language: "en",
analyzers: ["trust-safety"]
});
// Response: structured signals with config ID
// {
// "signals": [
// { "code": "insults_derogation", "score": 0.86, ... },
// { "code": "insult", "score": 0.99, ... }
// ],
// "verification": { "configuration": "sqcfg_ZZW77NM9", ... }
// }
Field mapping
| OpenAI Moderation | Sentiqra | Notes |
|---|---|---|
| categories.harassment | signals[].code = "harassment_targeting" | Sentiqra returns structured signals, not boolean flags |
| category_scores.harassment | signals[].score | Per-indicator signal-match score (0-1) |
| categories.hate | signals[].code = "hate_identity_attack" | Direct equivalent in Trust & Safety taxonomy |
| categories.violence | signals[].code = "incitement_violence" | Direct equivalent in Trust & Safety taxonomy |
| - | verification.configuration | Immutable config ID - enables reproducibility |
| - | verification.fingerprint | SHA-256 fingerprint for audit trail |
Migration checklist
Map OpenAI categories to Sentiqra signal codes
Use the field mapping table above. Sentiqra's Trust & Safety taxonomy includes direct equivalents for all 11 OpenAI categories.
Update your API client
Replace the OpenAI client with Sentiqra's REST API. Use the code examples above as a starting point.
Test with your production data
Run 20 representative samples through both systems. Compare outputs side by side.
Update your policy mapping
Map Sentiqra's signal codes to your enforcement rules. Sentiqra's granular taxonomy allows more precise policy mapping than OpenAI's 13 categories.
Enable verification receipts
Store the configuration ID and fingerprint from each successful analysis response. This enables reproducibility for appeals and audits.
Ready to migrate?
Start with 5,000 analyzer runs per month. No credit card required.