Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Moderations.ModerationCreateParams

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: ModerationCreateParams

OpenAI.Moderations.ModerationCreateParams

Table of contents

Properties

Properties

input

input: string | string[]

The input text to classify

Defined in

node_modules/openai/resources/moderations.d.ts:160


model

Optional model: string & {} | "text-moderation-latest" | "text-moderation-stable"

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.

Defined in

node_modules/openai/resources/moderations.d.ts:171

Typescript Libraries

Modules

Namespaces

Clone this wiki locally