FieldMapping Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
JsonModelWriteCore(Utf8JsonWriter, 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. |