次の方法で共有


ContentFilterSeverityResult Class

Definition

A labeled content filter result item that indicates whether the content was filtered and what the qualitative severity level of the content was, as evaluated against content filter configuration for the category.

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

Properties

Filtered

Whether the content severity resulted in a content filtering action.

Severity

Explicit Interface Implementations

IJsonModel<ContentFilterSeverityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContentFilterSeverityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContentFilterSeverityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContentFilterSeverityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContentFilterSeverityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to