ContentFilterResultDetailsForPrompt Class

Definition

Information about content filtering evaluated against input data to Azure OpenAI.

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

Properties

CustomBlocklists

Describes detection results against configured custom blocklists.

Error

Describes an error returned if the content filtering system is down or otherwise unable to complete the operation in time.

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.

IndirectAttack

Whether an indirect attack was detected in the prompt.

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<ContentFilterResultDetailsForPrompt>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContentFilterResultDetailsForPrompt>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContentFilterResultDetailsForPrompt>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContentFilterResultDetailsForPrompt>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContentFilterResultDetailsForPrompt>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to