VectorStoreFilesOperations interface
Antarmuka yang mewakili operasi VectorStoreFiles.
Properti
| create | Buat file penyimpanan vektor dengan melampirkan file ke penyimpanan vektor. |
| create |
Buat file penyimpanan vektor dengan melampirkan file ke penyimpanan dan polling vektor. |
| delete | Menghapus file penyimpanan vektor. Ini menghapus tautan file-to-store (tidak menghapus file itu sendiri). |
| get | Mengambil file penyimpanan vektor. |
| list | Mengembalikan daftar file penyimpanan vektor. |
Detail Properti
create
Buat file penyimpanan vektor dengan melampirkan file ke penyimpanan vektor.
create: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => Promise<VectorStoreFile>
Nilai Properti
(vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => Promise<VectorStoreFile>
createAndPoll
Buat file penyimpanan vektor dengan melampirkan file ke penyimpanan dan polling vektor.
createAndPoll: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>
Nilai Properti
(vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>
delete
Menghapus file penyimpanan vektor. Ini menghapus tautan file-to-store (tidak menghapus file itu sendiri).
delete: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams) => Promise<VectorStoreFileDeletionStatus>
Nilai Properti
(vectorStoreId: string, fileId: string, options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams) => Promise<VectorStoreFileDeletionStatus>
get
Mengambil file penyimpanan vektor.
get: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesGetVectorStoreFileOptionalParams) => Promise<VectorStoreFile>
Nilai Properti
(vectorStoreId: string, fileId: string, options?: VectorStoreFilesGetVectorStoreFileOptionalParams) => Promise<VectorStoreFile>
list
Mengembalikan daftar file penyimpanan vektor.
list: (vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile, VectorStoreFile[], PageSettings>
Nilai Properti
(vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile, VectorStoreFile[], PageSettings>