Package com.openai.services.async.audio
Interface TranscriptionServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface TranscriptionServiceAsync.WithRawResponse
A view of TranscriptionServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract TranscriptionServiceAsync.WithRawResponse 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<HttpResponseFor<TranscriptionCreateResponse>> create(TranscriptionCreateParams params)
Returns a raw HTTP response for
post /audio/transcriptions
, but is otherwise the same as TranscriptionServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<TranscriptionCreateResponse>> create(TranscriptionCreateParams params, RequestOptions requestOptions)
-
createStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>> createStreaming(TranscriptionCreateParams params)
Returns a raw HTTP response for
post /audio/transcriptions
, but is otherwise the same as TranscriptionServiceAsync.createStreaming.
-
createStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>> createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
-
-