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