Skip to main content
Coming soon

Safety Checks

We plan to add safeguards of our own on top of your policy sets: watching for the service being misused (for example as part of a cyberattack), and, for robotics, watching whether a sequence of actions matches what was asked.

Neither exists yet. One thing worth doing now: treat a failed check differently from a block verdict. A failure means the content wasn't judged at all:

try {
const result = await client.checkText(text, 'chat');
if (!isSafe(result)) block();
} catch (err) {
escalate(err.message); // not the same as a block
}