Package com.openai.services.async.audio
Interface TranscriptionServiceAsync
-
- All Implemented Interfaces:
public interface TranscriptionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranscriptionServiceAsync.WithRawResponseA view of TranscriptionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranscriptionServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract TranscriptionServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<TranscriptionCreateResponse>create(TranscriptionCreateParams params)Transcribes audio into the input language. abstract CompletableFuture<TranscriptionCreateResponse>create(TranscriptionCreateParams params, RequestOptions requestOptions)AsyncStreamResponse<TranscriptionStreamEvent>createStreaming(TranscriptionCreateParams params)Transcribes audio into the input language. abstract AsyncStreamResponse<TranscriptionStreamEvent>createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TranscriptionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TranscriptionServiceAsync 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<TranscriptionCreateResponse> create(TranscriptionCreateParams params)
Transcribes audio into the input language.
-
create
abstract CompletableFuture<TranscriptionCreateResponse> create(TranscriptionCreateParams params, RequestOptions requestOptions)
-
createStreaming
AsyncStreamResponse<TranscriptionStreamEvent> createStreaming(TranscriptionCreateParams params)
Transcribes audio into the input language.
-
createStreaming
abstract AsyncStreamResponse<TranscriptionStreamEvent> createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
-
-