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