你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VectorStoreFile interface

附加到向量存储的文件的说明。

属性

chunkingStrategy

用于对文件进行分块的策略。

createdAt

创建矢量存储文件时的 Unix 时间戳(以秒为单位)。

id

可以在 API 终结点中引用的标识符。

lastError

与此矢量存储文件关联的最后一个错误。 如果没有错误,则为 null

object

始终为 vector_store.file 的对象类型。

status

矢量存储文件的状态,可以是 in_progresscompletedcancelledfailed。 状态 completed 指示矢量存储文件可供使用。

usageBytes

总矢量存储使用量(以字节为单位)。 请注意,这可能不同于原始文件大小。

vectorStoreId

附加文件的矢量存储的 ID。

属性详细信息

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

附加文件的矢量存储的 ID。

vectorStoreId: string

属性值

string