Delen via


ImageContentFilterResultForPrompt Class

Definition

A content filter result for an image generation operation's input request content.

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

Properties

CustomBlocklists

A collection of binary filtering outcomes for configured custom blocklists.

Hate

A content filter category that can refer to any content that attacks or uses pejorative or discriminatory language with reference to a person or identity group based on 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.

(Inherited from ImageContentFilterResultForResponse)
Jailbreak

A detection result that describes user prompt injection attacks, where malicious users deliberately exploit system vulnerabilities to elicit unauthorized behavior from the LLM. This could lead to inappropriate content generation or violations of system-imposed restrictions.

Profanity

A detection result that identifies whether crude, vulgar, or otherwise objection language is present in the content.

SelfHarm

A content filter category that describes language related to physical actions intended to purposely hurt, injure, damage one's body or kill oneself.

(Inherited from ImageContentFilterResultForResponse)
Sexual

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

(Inherited from ImageContentFilterResultForResponse)
Violence

A content filter category for language related to physical actions intended to hurt, injure, damage, or kill someone or something; describes weapons, guns and related entities, such as manufactures, associations, legislation, and so on.

(Inherited from ImageContentFilterResultForResponse)

Explicit Interface Implementations

IJsonModel<ImageContentFilterResultForPrompt>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageContentFilterResultForPrompt>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ImageContentFilterResultForResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ImageContentFilterResultForResponse)
IJsonModel<ImageContentFilterResultForResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ImageContentFilterResultForResponse)
IPersistableModel<ImageContentFilterResultForPrompt>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageContentFilterResultForPrompt>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageContentFilterResultForPrompt>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ImageContentFilterResultForResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ImageContentFilterResultForResponse)
IPersistableModel<ImageContentFilterResultForResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ImageContentFilterResultForResponse)
IPersistableModel<ImageContentFilterResultForResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ImageContentFilterResultForResponse)

Applies to