VectorStoreFile interface
附加至向量存放區之檔案的描述。
屬性
| chunking |
用來區塊檔案的策略。 |
| created |
向量存放區檔案建立時的 Unix 時間戳記 (以秒為單位)。 |
| id | 識別碼,可在 API 端點中參考。 |
| last |
與此向量存放區檔案相關聯的最後一個錯誤。 如果沒有任何錯誤,則為 |
| object | 物件類型,一律為 |
| status | 向量存放區檔案的狀態,可以是 |
| usage |
向量存放區總使用量 (以位元組為單位)。 請注意,這可能與源檔大小不同。 |
| vector |
要附加檔案之向量存放區的識別碼。 |
屬性詳細資料
chunkingStrategy
用來區塊檔案的策略。
chunkingStrategy: VectorStoreChunkingStrategyResponseUnion
屬性值
createdAt
向量存放區檔案建立時的 Unix 時間戳記 (以秒為單位)。
createdAt: Date
屬性值
Date
id
識別碼,可在 API 端點中參考。
id: string
屬性值
string
lastError
與此向量存放區檔案相關聯的最後一個錯誤。 如果沒有任何錯誤,則為 null。
lastError: null | VectorStoreFileError
屬性值
null | VectorStoreFileError
object
物件類型,一律為 vector_store.file。
object: "vector_store.file"
屬性值
"vector_store.file"
status
向量存放區檔案的狀態,可以是 in_progress、completed、cancelled 或 failed。 狀態為 completed 表示向量存放區檔案已可供使用。
status: VectorStoreFileStatus
屬性值
usageBytes
向量存放區總使用量 (以位元組為單位)。 請注意,這可能與源檔大小不同。
usageBytes: number
屬性值
number
vectorStoreId
要附加檔案之向量存放區的識別碼。
vectorStoreId: string
屬性值
string