Partilhar via


DataSourceFieldMappings Class

Definition

The AzureSearchChatDataSourceParametersFieldsMapping.

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

Constructors

DataSourceFieldMappings()

Initializes a new instance of DataSourceFieldMappings.

Properties

ContentFieldNames

The names of index fields that should be treated as content.

ContentFieldSeparator

The separator pattern that content fields should use.

FilePathFieldName

The name of the index field to use as a filepath.

ImageVectorFieldNames

The names of fields that represent image vector data.

TitleFieldName

The name of the index field to use as a title.

UrlFieldName

The name of the index field to use as a URL.

VectorFieldNames

The names of fields that represent vector data.

Explicit Interface Implementations

IJsonModel<DataSourceFieldMappings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataSourceFieldMappings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataSourceFieldMappings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataSourceFieldMappings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataSourceFieldMappings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to