Filter: classifai_openai_moderation_model

apply_filters( 'classifai_openai_moderation_model', $model ) → {string}

Filter the model name.

Useful if you want to use a different model, like text-moderation-latest.

Parameters:
Name Type Description
$model string

The default model to use.

Since:
  • x.x.x
Source:
Returns:

The model to use.

Type
string