ContentFilterResultsForChoice Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Information about content filtering evaluated against generated model output.
public class ContentFilterResultsForChoice : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.ContentFilterResultsForChoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.ContentFilterResultsForChoice>
type ContentFilterResultsForChoice = class
interface IJsonModel<ContentFilterResultsForChoice>
interface IPersistableModel<ContentFilterResultsForChoice>
Public Class ContentFilterResultsForChoice
Implements IJsonModel(Of ContentFilterResultsForChoice), IPersistableModel(Of ContentFilterResultsForChoice)
- Inheritance
-
ContentFilterResultsForChoice
- 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. |
Profanity |
Describes whether profanity was detected. |
ProtectedMaterialCode |
Information about detection of protected code material. |
ProtectedMaterialText |
Information about detection of protected text material. |
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<ContentFilterResultsForChoice>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContentFilterResultsForChoice>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContentFilterResultsForChoice>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContentFilterResultsForChoice>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContentFilterResultsForChoice>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for