FieldMapping interface
Field mapping configuration class
Properties
| content |
List of fields with text content |
| filepath |
Path of file to be used as a source of text content |
| metadata |
List of fields with metadata content |
| title |
Field containing the title of the document |
| url |
Field containing the url of the document |
| vector |
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[]