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
Modifier and Type Method Description CompletableFuture<HttpResponseFor<TranscriptionCreateResponse>>
create(TranscriptionCreateParams params)
Returns a raw HTTP response for post /audio/transcriptions
, but is otherwise the same as TranscriptionServiceAsync.create.abstract CompletableFuture<HttpResponseFor<TranscriptionCreateResponse>>
create(TranscriptionCreateParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>>
createStreaming(TranscriptionCreateParams params)
Returns a raw HTTP response for post /audio/transcriptions
, but is otherwise the same as TranscriptionServiceAsync.createStreaming.abstract CompletableFuture<HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>>
createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
create
@MustBeClosed() CompletableFuture<HttpResponseFor<TranscriptionCreateResponse>> create(TranscriptionCreateParams params)
Returns a raw HTTP response for
post /audio/transcriptions
, but is otherwise the same as TranscriptionServiceAsync.create.
-
create
@MustBeClosed() 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)
-
-
-
-