Skip to content

ContentPolicyModels

MarcoDotIO edited this page Dec 5, 2022 · 1 revision

ContentPolicyModels

Two content moderations models are available:​ text-moderation-stable and text-moderation-latest. The default is text-moderation-latest which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use text-moderation-stable, we will provide advanced notice before updating the model. Accuracy of text-moderation-stable may be slightly lower than for text-moderation-latest.

public enum ContentPolicyModels: String, Codable 

Inheritance

Codable, String

Enumeration Cases

latest

The latest model that gets automatically upgraded over time.

case latest = "text-moderation-latest"

stable

The stable model that gets prior notification before being upgraded.

case stable = "text-moderation-stable"
Types
Global Functions
Clone this wiki locally