selfHarmInstructions
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.
- iOS
- 13.0+
let selfHarmInstructions: Double
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.
let selfHarmInstructions: Double
s6OpenAI17ModerationsResultV10ModerationV14CategoryScoresV20selfHarmInstructionsSdvp
What are these?6B5FD
import OpenAI
struct CategoryScores
struct ModerationsResult
struct Moderation
@frozen struct Double
A double-precision, floating-point value type.
init(from decoder: any Decoder) throws
let harassment: Double
Content that expresses, incites, or promotes harassing language towards any target.
let harassmentThreatening: Double
Harassment content that also includes violence or serious harm towards any target.
let hate: Double
Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
let hateThreatening: Double
Hateful content that also includes violence or serious harm towards the targeted group.
let selfHarm: Double
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
let selfHarmIntent: Double
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.
let sexual: Double
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
let sexualMinors: Double
Sexual content that includes an individual who is under 18 years old.
let violence: Double
Content that promotes or glorifies violence or celebrates the suffering or humiliation of others.
let violenceGraphic: Double
Violent content that depicts death, violence, or serious physical injury in extreme graphic detail.
func makeIterator() -> IndexingIterator<[(String, Bool)]>
enum CodingKeys