Interface FileServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface FileServiceAsync.WithRawResponse
A view of FileServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract 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.abstract CompletableFuture<HttpResponseFor<VectorStoreFile>>
create(BetaVectorStoreFileCreateParams params)
Returns a raw HTTP response for post /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.create.abstract 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.abstract CompletableFuture<HttpResponseFor<VectorStoreFile>>
retrieve(BetaVectorStoreFileRetrieveParams params)
Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.abstract 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.abstract CompletableFuture<HttpResponseFor<BetaVectorStoreFileListPageAsync>>
list(BetaVectorStoreFileListParams params)
Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.list.abstract 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.abstract CompletableFuture<HttpResponseFor<VectorStoreFileDeleted>>
delete(BetaVectorStoreFileDeleteParams params)
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
abstract 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.
-
create
abstract CompletableFuture<HttpResponseFor<VectorStoreFile>> create(BetaVectorStoreFileCreateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.create.
-
retrieve
abstract 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.
-
retrieve
abstract CompletableFuture<HttpResponseFor<VectorStoreFile>> retrieve(BetaVectorStoreFileRetrieveParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.
-
list
abstract 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.
-
list
abstract CompletableFuture<HttpResponseFor<BetaVectorStoreFileListPageAsync>> list(BetaVectorStoreFileListParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files
, but is otherwise the same as FileServiceAsync.list.
-
delete
abstract 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.
-
delete
abstract CompletableFuture<HttpResponseFor<VectorStoreFileDeleted>> delete(BetaVectorStoreFileDeleteParams params)
Returns a raw HTTP response for
delete /vector_stores/{vector_store_id}/files/{file_id}
, but is otherwise the same as FileServiceAsync.delete.
-
-
-
-