Interface TranscriptionService
-
- All Implemented Interfaces:
public interface TranscriptionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
TranscriptionService.WithRawResponse
A view of TranscriptionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranscriptionService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract TranscriptionService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. TranscriptionCreateResponse
create(TranscriptionCreateParams params)
Transcribes audio into the input language. abstract TranscriptionCreateResponse
create(TranscriptionCreateParams params, RequestOptions requestOptions)
StreamResponse<TranscriptionStreamEvent>
createStreaming(TranscriptionCreateParams params)
Transcribes audio into the input language. abstract StreamResponse<TranscriptionStreamEvent>
createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract TranscriptionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TranscriptionService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
TranscriptionCreateResponse create(TranscriptionCreateParams params)
Transcribes audio into the input language.
-
create
abstract TranscriptionCreateResponse create(TranscriptionCreateParams params, RequestOptions requestOptions)
-
createStreaming
@MustBeClosed() StreamResponse<TranscriptionStreamEvent> createStreaming(TranscriptionCreateParams params)
Transcribes audio into the input language.
-
createStreaming
@MustBeClosed() abstract StreamResponse<TranscriptionStreamEvent> createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
-
-