Package com.openai.services.async
Class ResponseServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.ResponseServiceAsync
public final class ResponseServiceAsyncImpl implements ResponseServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
-
Methods inherited from class com.openai.services.async.ResponseServiceAsync
cancel, cancel, cancel, cancel, cancel, create, create, create, create, create, createStreaming, createStreaming, createStreaming, createStreaming, createStreaming, delete, delete, delete, delete, delete, retrieve, retrieve, retrieve, retrieve, retrieve, retrieveStreaming, retrieveStreaming, retrieveStreaming, retrieveStreaming, retrieveStreaming -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ResponseServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ResponseServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
inputItems
InputItemServiceAsync inputItems()
-
inputTokens
InputTokenServiceAsync inputTokens()
-
create
CompletableFuture<Response> create(ResponseCreateParams params, RequestOptions requestOptions)
-
createStreaming
AsyncStreamResponse<ResponseStreamEvent> createStreaming(ResponseCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Response> retrieve(ResponseRetrieveParams params, RequestOptions requestOptions)
-
retrieveStreaming
AsyncStreamResponse<ResponseStreamEvent> retrieveStreaming(ResponseRetrieveParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ResponseDeleteParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<Response> cancel(ResponseCancelParams params, RequestOptions requestOptions)
-
-
-
-