Interface TranscriptionService.WithRawResponse
-
- All Implemented Interfaces:
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
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. HttpResponseFor<TranscriptionCreateResponse>
create(TranscriptionCreateParams params)
Returns a raw HTTP response for post /audio/transcriptions
, but is otherwise the same as TranscriptionService.create.abstract HttpResponseFor<TranscriptionCreateResponse>
create(TranscriptionCreateParams params, RequestOptions requestOptions)
HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>
createStreaming(TranscriptionCreateParams params)
Returns a raw HTTP response for post /audio/transcriptions
, but is otherwise the same as TranscriptionService.createStreaming.abstract HttpResponseFor<StreamResponse<TranscriptionStreamEvent>>
createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withOptions
abstract TranscriptionService.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
@MustBeClosed() HttpResponseFor<TranscriptionCreateResponse> create(TranscriptionCreateParams params)
Returns a raw HTTP response for
post /audio/transcriptions
, but is otherwise the same as TranscriptionService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<TranscriptionCreateResponse> create(TranscriptionCreateParams params, RequestOptions requestOptions)
-
createStreaming
@MustBeClosed() HttpResponseFor<StreamResponse<TranscriptionStreamEvent>> createStreaming(TranscriptionCreateParams params)
Returns a raw HTTP response for
post /audio/transcriptions
, but is otherwise the same as TranscriptionService.createStreaming.
-
createStreaming
@MustBeClosed() abstract HttpResponseFor<StreamResponse<TranscriptionStreamEvent>> createStreaming(TranscriptionCreateParams params, RequestOptions requestOptions)
-
-
-
-