Class FileServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.vectorStores.FileServiceAsync.WithRawResponse
public final class FileServiceAsyncImpl.WithRawResponseImpl implements FileServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<HttpResponseFor<VectorStoreFile>>
create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.create.CompletableFuture<HttpResponseFor<VectorStoreFile>>
retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.CompletableFuture<HttpResponseFor<BetaVectorStoreFileListPageAsync>>
list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.list.CompletableFuture<HttpResponseFor<VectorStoreFileDeleted>>
delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for delete /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.delete.-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<VectorStoreFile>> create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.create.
-
retrieve
CompletableFuture<HttpResponseFor<VectorStoreFile>> retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.
-
list
CompletableFuture<HttpResponseFor<BetaVectorStoreFileListPageAsync>> list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.list.
-
delete
CompletableFuture<HttpResponseFor<VectorStoreFileDeleted>> delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
delete /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.delete.
-
-
-
-