The class is set per request, from the content. Restricted data stays on-premises.
Shahin reads every request and assigns one of your four classes with rules and checksum-validated detectors. A model is only eligible if its location allows that class. Fallback never crosses the line, and if the check fails, the request is treated as Restricted.
| Class | Where it may go |
|---|---|
| Restricted | On-premises models only. Cloud is refused, including on fallback. |
| Confidential | On-premises, or cloud after reversible masking. |
| Internal | Any allowed model. |
| Public | Any allowed model. |
Classification, masking, class routing and pattern-based injection screening are built. The Arabic-dialect classifier is built; its precision and recall are tuned and measured on your labelled sample.
