Class FileServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.vectorstores.FileServiceAsync
public final class FileServiceAsyncImpl implements FileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description FileServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. FileServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<VectorStoreFile>create(FileCreateParams params, RequestOptions requestOptions)CompletableFuture<VectorStoreFile>retrieve(FileRetrieveParams params, RequestOptions requestOptions)CompletableFuture<VectorStoreFile>update(FileUpdateParams params, RequestOptions requestOptions)CompletableFuture<FileListPageAsync>list(FileListParams params, RequestOptions requestOptions)CompletableFuture<VectorStoreFileDeleted>delete(FileDeleteParams params, RequestOptions requestOptions)CompletableFuture<FileContentPageAsync>content(FileContentParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.vectorstores.FileServiceAsync
content, content, content, create, create, create, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
FileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
FileServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<VectorStoreFile> create(FileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<VectorStoreFile> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<VectorStoreFile> update(FileUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<FileListPageAsync> list(FileListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<VectorStoreFileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions)
-
content
CompletableFuture<FileContentPageAsync> content(FileContentParams params, RequestOptions requestOptions)
-
-
-
-