Share via


FieldMapping interface

Field mapping configuration class

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

Property Details

contentFields

List of fields with text content

contentFields: string[]

Property Value

string[]

filepathField

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

filepathField?: string

Property Value

string

metadataFields

List of fields with metadata content

metadataFields?: string[]

Property Value

string[]

titleField

Field containing the title of the document

titleField?: string

Property Value

string

urlField

Field containing the url of the document

urlField?: string

Property Value

string

vectorFields

List of fields with vector content

vectorFields?: string[]

Property Value

string[]