Interface FileServiceAsync
-
- All Implemented Interfaces:
public interface FileServiceAsync
-
-
Method Summary
-
-
Method Detail
-
create
abstract CompletableFuture<VectorStoreFile> create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store.
-
create
abstract CompletableFuture<VectorStoreFile> create(BetaVectorStoreFileCreateParams params)
Create a vector store file by attaching a File to a vector store.
-
retrieve
abstract CompletableFuture<VectorStoreFile> retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file.
-
retrieve
abstract CompletableFuture<VectorStoreFile> retrieve(BetaVectorStoreFileRetrieveParams params)
Retrieves a vector store file.
-
list
abstract CompletableFuture<BetaVectorStoreFileListPageAsync> list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files.
-
list
abstract CompletableFuture<BetaVectorStoreFileListPageAsync> list(BetaVectorStoreFileListParams params)
Returns a list of vector store files.
-
delete
abstract CompletableFuture<VectorStoreFileDeleted> delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the delete file endpoint.
-
delete
abstract CompletableFuture<VectorStoreFileDeleted> delete(BetaVectorStoreFileDeleteParams params)
Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the delete file endpoint.
-
-
-
-