Interface FileBatchServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface FileBatchServiceAsync.WithRawResponse
A view of FileBatchServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract FileBatchServiceAsync.WithRawResponse 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<HttpResponseFor<VectorStoreFileBatch>> create(String vectorStoreId, FileBatchCreateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches
, but is otherwise the same as FileBatchServiceAsync.create.
-
create
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> create(String vectorStoreId, FileBatchCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> create(FileBatchCreateParams params)
-
create
abstract CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> create(FileBatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> retrieve(String batchId, FileBatchRetrieveParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/file_batches/{batch_id}
, but is otherwise the same as FileBatchServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> retrieve(String batchId, FileBatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> retrieve(FileBatchRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> retrieve(FileBatchRetrieveParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> cancel(String batchId, FileBatchCancelParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
, but is otherwise the same as FileBatchServiceAsync.cancel.
-
cancel
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> cancel(String batchId, FileBatchCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> cancel(FileBatchCancelParams params)
-
cancel
abstract CompletableFuture<HttpResponseFor<VectorStoreFileBatch>> cancel(FileBatchCancelParams params, RequestOptions requestOptions)
-
listFiles
CompletableFuture<HttpResponseFor<FileBatchListFilesPageAsync>> listFiles(String batchId, FileBatchListFilesParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/file_batches/{batch_id}/files
, but is otherwise the same as FileBatchServiceAsync.listFiles.
-
listFiles
CompletableFuture<HttpResponseFor<FileBatchListFilesPageAsync>> listFiles(String batchId, FileBatchListFilesParams params, RequestOptions requestOptions)
-
listFiles
CompletableFuture<HttpResponseFor<FileBatchListFilesPageAsync>> listFiles(FileBatchListFilesParams params)
-
listFiles
abstract CompletableFuture<HttpResponseFor<FileBatchListFilesPageAsync>> listFiles(FileBatchListFilesParams params, RequestOptions requestOptions)
-
-
-
-