Use a chat completions call with a strict JSON schema when you need moderation-style labeling of user content and your provider has no moderation endpoint; reach for a dedicated moderation API when your policy already matches an off-the-shelf taxonomy. The label set I ship is safe, spam, abuse, ...
Source: [Dev.to](https://dev.to/colemitchell4991/labeling-unsafe-text-without-a-moderation-endpoint-chat-completions-and-a-json-schema-4hg5)