Package com.openai.services.async
Class CompletionServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.CompletionServiceAsync.WithRawResponse
public final class CompletionServiceAsyncImpl.WithRawResponseImpl implements CompletionServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<HttpResponseFor<Completion>>
create(CompletionCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /completions
, but is otherwise the same as CompletionServiceAsync.create.CompletableFuture<HttpResponseFor<StreamResponse<Completion>>>
createStreaming(CompletionCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /completions
, but is otherwise the same as CompletionServiceAsync.createStreaming.-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<Completion>> create(CompletionCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /completions
, but is otherwise the same as CompletionServiceAsync.create.
-
createStreaming
CompletableFuture<HttpResponseFor<StreamResponse<Completion>>> createStreaming(CompletionCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /completions
, but is otherwise the same as CompletionServiceAsync.createStreaming.
-
-
-
-