Skip to main content

ScopeGuard-2

Why not just a system prompt?​

A system prompt is an instruction your LLM may not follow, and it leaves no decision you can log. ScopeGuard-2 is a separate check by a specialised model: it judges a request only against your AI service description and returns one of seven classes your code can branch on.

How do I get the fastest answer?​

If you are interested only on the scope_class value, you can get a huge improvement by either using the classify endpoint, or passing output_fields: ["scope_class"] on validate.