ImageGenerationPromptFilterResults Class

Definition

Describes the content filtering results for the prompt of a image generation request.

public class ImageGenerationPromptFilterResults : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.ImageGenerationPromptFilterResults>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.ImageGenerationPromptFilterResults>
type ImageGenerationPromptFilterResults = class
    interface IJsonModel<ImageGenerationPromptFilterResults>
    interface IPersistableModel<ImageGenerationPromptFilterResults>
Public Class ImageGenerationPromptFilterResults
Implements IJsonModel(Of ImageGenerationPromptFilterResults), IPersistableModel(Of ImageGenerationPromptFilterResults)
Inheritance
ImageGenerationPromptFilterResults
Implements

Properties

Hate

Describes language attacks or uses that include pejorative or discriminatory language with reference to a person or identity group on the basis of certain differentiating attributes of these groups including but not limited to race, ethnicity, nationality, gender identity and expression, sexual orientation, religion, immigration status, ability status, personal appearance, and body size.

Jailbreak

Whether a jailbreak attempt was detected in the prompt.

Profanity

Describes whether profanity was detected.

SelfHarm

Describes language related to physical actions intended to purposely hurt, injure, or damage one’s body, or kill oneself.

Sexual

Describes language related to anatomical organs and genitals, romantic relationships, acts portrayed in erotic or affectionate terms, physical sexual acts, including those portrayed as an assault or a forced sexual violent act against one’s will, prostitution, pornography, and abuse.

Violence

Describes language related to physical actions intended to hurt, injure, damage, or kill someone or something; describes weapons, etc.

Explicit Interface Implementations

IJsonModel<ImageGenerationPromptFilterResults>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ImageGenerationPromptFilterResults>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageGenerationPromptFilterResults>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageGenerationPromptFilterResults>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ImageGenerationPromptFilterResults>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to