Package com.openai.services.async.audio
Interface TranslationServiceAsync
-
- All Implemented Interfaces:
public interface TranslationServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranslationServiceAsync.WithRawResponseA view of TranslationServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TranslationServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<TranslationCreateResponse>create(TranslationCreateParams params)Translates audio into English. abstract CompletableFuture<TranslationCreateResponse>create(TranslationCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TranslationServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<TranslationCreateResponse> create(TranslationCreateParams params)
Translates audio into English.
-
create
abstract CompletableFuture<TranslationCreateResponse> create(TranslationCreateParams params, RequestOptions requestOptions)
-
-
-
-