共用方式為


VectorStoreFile interface

附加至向量存放區之檔案的描述。

屬性

chunkingStrategy

用來區塊檔案的策略。

createdAt

向量存放區檔案建立時的 Unix 時間戳記 (以秒為單位)。

id

識別碼,可在 API 端點中參考。

lastError

與此向量存放區檔案相關聯的最後一個錯誤。 如果沒有任何錯誤,則為 null

object

物件類型,一律為 vector_store.file

status

向量存放區檔案的狀態,可以是 in_progresscompletedcancelledfailed。 狀態為 completed 表示向量存放區檔案已可供使用。

usageBytes

向量存放區總使用量 (以位元組為單位)。 請注意,這可能與源檔大小不同。

vectorStoreId

要附加檔案之向量存放區的識別碼。

屬性詳細資料

chunkingStrategy

用來區塊檔案的策略。

chunkingStrategy: VectorStoreChunkingStrategyResponseUnion

屬性值

createdAt

向量存放區檔案建立時的 Unix 時間戳記 (以秒為單位)。

createdAt: Date

屬性值

Date

id

識別碼,可在 API 端點中參考。

id: string

屬性值

string

lastError

與此向量存放區檔案相關聯的最後一個錯誤。 如果沒有任何錯誤,則為 null

lastError: null | VectorStoreFileError

屬性值

object

物件類型,一律為 vector_store.file

object: "vector_store.file"

屬性值

"vector_store.file"

status

向量存放區檔案的狀態,可以是 in_progresscompletedcancelledfailed。 狀態為 completed 表示向量存放區檔案已可供使用。

status: VectorStoreFileStatus

屬性值

usageBytes

向量存放區總使用量 (以位元組為單位)。 請注意,這可能與源檔大小不同。

usageBytes: number

屬性值

number

vectorStoreId

要附加檔案之向量存放區的識別碼。

vectorStoreId: string

屬性值

string