次の方法で共有


ContentFilterDetectionResult Class

Definition

A labeled content filter result item that indicates whether the content was detected and whether the content was filtered.

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

Properties

Detected

Whether the labeled content category was detected in the content.

Filtered

Whether the content detection resulted in a content filtering action.

Explicit Interface Implementations

IJsonModel<ContentFilterDetectionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContentFilterDetectionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContentFilterDetectionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContentFilterDetectionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContentFilterDetectionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to