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

VectorStoreFilesOperations interface

Interface representing a VectorStoreFiles operations.

Properties

create

Create a vector store file by attaching a file to a vector store.

createAndPoll

Create a vector store file by attaching a file to a vector store and poll.

delete

Deletes a vector store file. This removes the file‐to‐store link (does not delete the file itself).

get

Retrieves a vector store file.

list

Returns a list of vector store files.

Property Details

create

Create a vector store file by attaching a file to a vector store.

create: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => Promise<VectorStoreFile>

Property Value

(vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => Promise<VectorStoreFile>

createAndPoll

Create a vector store file by attaching a file to a vector store and poll.

createAndPoll: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>

Property Value

(vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>

delete

Deletes a vector store file. This removes the file‐to‐store link (does not delete the file itself).

delete: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams) => Promise<VectorStoreFileDeletionStatus>

Property Value

(vectorStoreId: string, fileId: string, options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams) => Promise<VectorStoreFileDeletionStatus>

get

Retrieves a vector store file.

get: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesGetVectorStoreFileOptionalParams) => Promise<VectorStoreFile>

Property Value

(vectorStoreId: string, fileId: string, options?: VectorStoreFilesGetVectorStoreFileOptionalParams) => Promise<VectorStoreFile>

list

Returns a list of vector store files.

list: (vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile, VectorStoreFile[], PageSettings>

Property Value

(vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile, VectorStoreFile[], PageSettings>