model: String

The moderation model to use for moderated completions, e.g. ‘omni-moderation-latest’.

policy: Policy{ input, output}

The policy to apply to moderated response input and output.

input: Input{ mode}

The moderation policy for the response input.

mode: :score | :block
One of the following:
:score
:block
output: Output{ mode}

The moderation policy for the response output.

mode: :score | :block
One of the following:
:score
:block