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

FieldMapping Class

Definition

Field mapping configuration class.

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

Constructors

FieldMapping(IEnumerable<String>)

Initializes a new instance of FieldMapping.

Properties

ContentFields

List of fields with text content.

FilepathField

Path of file to be used as a source of text content.

MetadataFields

List of fields with metadata content.

TitleField

Field containing the title of the document.

UrlField

Field containing the url of the document.

VectorFields

List of fields with vector content.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FieldMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FieldMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FieldMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FieldMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FieldMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to