Package com.openai.services.async.audio
Class SpeechServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.audio.SpeechServiceAsync
public final class SpeechServiceAsyncImpl implements SpeechServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SpeechServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description SpeechServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. SpeechServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponse>
create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
SpeechServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
SpeechServiceAsync 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<HttpResponse> create(SpeechCreateParams params, RequestOptions requestOptions)
-
-
-
-