你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentFilterTextSpanResult Class

Definition

The AzureContentFilterCompletionTextSpanDetectionResult.

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

Properties

Details

Detailed information about the detected completion text spans.

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

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

IJsonModel<ContentFilterTextSpanResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContentFilterTextSpanResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContentFilterTextSpanResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContentFilterTextSpanResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to