Interface FileService.WithRawResponse
-
- All Implemented Interfaces:
public interface FileService.WithRawResponseA view of FileService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description HttpResponseFor<VectorStoreFile>create(FileCreateParams 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>create(FileCreateParams params, RequestOptions requestOptions)HttpResponseFor<VectorStoreFile>retrieve(FileRetrieveParams 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<VectorStoreFile>retrieve(FileRetrieveParams params, RequestOptions requestOptions)HttpResponseFor<VectorStoreFile>update(FileUpdateParams params)Returns a raw HTTP response for post /vector_stores/{vector_store_id}/files/{file_id}, but is otherwise the same as FileService.update.abstract HttpResponseFor<VectorStoreFile>update(FileUpdateParams params, RequestOptions requestOptions)HttpResponseFor<FileListPage>list(FileListParams params)Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files, but is otherwise the same as FileService.list.abstract HttpResponseFor<FileListPage>list(FileListParams params, RequestOptions requestOptions)HttpResponseFor<VectorStoreFileDeleted>delete(FileDeleteParams params)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(FileDeleteParams params, RequestOptions requestOptions)HttpResponseFor<FileContentPage>content(FileContentParams params)Returns a raw HTTP response for get /vector_stores/{vector_store_id}/files/{file_id}/content, but is otherwise the same as FileService.content.abstract HttpResponseFor<FileContentPage>content(FileContentParams params, RequestOptions requestOptions)-
-
Method Detail
-
create
@MustBeClosed() HttpResponseFor<VectorStoreFile> create(FileCreateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/files, but is otherwise the same as FileService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<VectorStoreFile> create(FileCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<VectorStoreFile> retrieve(FileRetrieveParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files/{file_id}, but is otherwise the same as FileService.retrieve.
-
retrieve
@MustBeClosed() abstract HttpResponseFor<VectorStoreFile> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() HttpResponseFor<VectorStoreFile> update(FileUpdateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/files/{file_id}, but is otherwise the same as FileService.update.
-
update
@MustBeClosed() abstract HttpResponseFor<VectorStoreFile> update(FileUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<FileListPage> list(FileListParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files, but is otherwise the same as FileService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<FileListPage> list(FileListParams params, RequestOptions requestOptions)
-
delete
@MustBeClosed() HttpResponseFor<VectorStoreFileDeleted> delete(FileDeleteParams params)
Returns a raw HTTP response for
delete /vector_stores/{vector_store_id}/files/{file_id}, but is otherwise the same as FileService.delete.
-
delete
@MustBeClosed() abstract HttpResponseFor<VectorStoreFileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions)
-
content
@MustBeClosed() HttpResponseFor<FileContentPage> content(FileContentParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/files/{file_id}/content, but is otherwise the same as FileService.content.
-
content
@MustBeClosed() abstract HttpResponseFor<FileContentPage> content(FileContentParams params, RequestOptions requestOptions)
-
-
-
-