Skip to content

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

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

Interface: Categories

Moderations.Moderation.Categories

A list of the categories, and whether they are flagged or not.

Table of contents

Properties

Properties

harassment

harassment: boolean

Content that expresses, incites, or promotes harassing language towards any target.

Defined in

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


harassment/threatening

harassment/threatening: boolean

Harassment content that also includes violence or serious harm towards any target.

Defined in

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


hate

hate: boolean

Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harrassment.

Defined in

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


hate/threatening

hate/threatening: boolean

Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.

Defined in

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


self-harm

self-harm: boolean

Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.

Defined in

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


self-harm/instructions

self-harm/instructions: boolean

Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.

Defined in

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


self-harm/intent

self-harm/intent: boolean

Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.

Defined in

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


sexual

sexual: boolean

Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).

Defined in

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


sexual/minors

sexual/minors: boolean

Sexual content that includes an individual who is under 18 years old.

Defined in

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


violence

violence: boolean

Content that depicts death, violence, or physical injury.

Defined in

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


violence/graphic

violence/graphic: boolean

Content that depicts death, violence, or physical injury in graphic detail.

Defined in

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

Typescript Libraries

Modules

Namespaces

Clone this wiki locally