共用方式為


FieldMapping interface

欄位映射配置類

屬性

contentFields

包含文字內容的欄位清單

filepathField

要用作文本內容源的文件路徑

metadataFields

包含元數據內容的欄位清單

titleField

包含文件標題的欄位

urlField

包含文件 URL 的欄位

vectorFields

包含向量內容的欄位清單

屬性詳細資料

contentFields

包含文字內容的欄位清單

contentFields: string[]

屬性值

string[]

filepathField

要用作文本內容源的文件路徑

filepathField?: string

屬性值

string

metadataFields

包含元數據內容的欄位清單

metadataFields?: string[]

屬性值

string[]

titleField

包含文件標題的欄位

titleField?: string

屬性值

string

urlField

包含文件 URL 的欄位

urlField?: string

屬性值

string

vectorFields

包含向量內容的欄位清單

vectorFields?: string[]

屬性值

string[]