Interface FileBatchServiceAsync
-
- All Implemented Interfaces:
public interface FileBatchServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
FileBatchServiceAsync.WithRawResponse
A view of FileBatchServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract FileBatchServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract FileBatchServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<VectorStoreFileBatch> create(String vectorStoreId, FileBatchCreateParams params)
Create a vector store file batch.
-
create
CompletableFuture<VectorStoreFileBatch> create(String vectorStoreId, FileBatchCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<VectorStoreFileBatch> create(FileBatchCreateParams params)
-
create
abstract CompletableFuture<VectorStoreFileBatch> create(FileBatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<VectorStoreFileBatch> retrieve(String batchId, FileBatchRetrieveParams params)
Retrieves a vector store file batch.
-
retrieve
CompletableFuture<VectorStoreFileBatch> retrieve(String batchId, FileBatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<VectorStoreFileBatch> retrieve(FileBatchRetrieveParams params)
-
retrieve
abstract CompletableFuture<VectorStoreFileBatch> retrieve(FileBatchRetrieveParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<VectorStoreFileBatch> cancel(String batchId, FileBatchCancelParams params)
Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
-
cancel
CompletableFuture<VectorStoreFileBatch> cancel(String batchId, FileBatchCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<VectorStoreFileBatch> cancel(FileBatchCancelParams params)
-
cancel
abstract CompletableFuture<VectorStoreFileBatch> cancel(FileBatchCancelParams params, RequestOptions requestOptions)
-
listFiles
CompletableFuture<FileBatchListFilesPageAsync> listFiles(String batchId, FileBatchListFilesParams params)
Returns a list of vector store files in a batch.
-
listFiles
CompletableFuture<FileBatchListFilesPageAsync> listFiles(String batchId, FileBatchListFilesParams params, RequestOptions requestOptions)
-
listFiles
CompletableFuture<FileBatchListFilesPageAsync> listFiles(FileBatchListFilesParams params)
-
listFiles
abstract CompletableFuture<FileBatchListFilesPageAsync> listFiles(FileBatchListFilesParams params, RequestOptions requestOptions)
-
-
-
-