Class FileServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.vectorStores.FileServiceAsync
public final class FileServiceAsyncImpl implements FileServiceAsync
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<VectorStoreFile>
create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store. CompletableFuture<VectorStoreFile>
retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file. CompletableFuture<BetaVectorStoreFileListPageAsync>
list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files. CompletableFuture<VectorStoreFileDeleted>
delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
Delete a vector store file. -
-
Method Detail
-
create
CompletableFuture<VectorStoreFile> create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store.
-
retrieve
CompletableFuture<VectorStoreFile> retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file.
-
list
CompletableFuture<BetaVectorStoreFileListPageAsync> list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files.
-
delete
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.
-
-
-
-