Package com.openai.services.async
Class ChatServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.ChatServiceAsync
public final class ChatServiceAsyncImpl implements ChatServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ChatServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. ChatServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. ChatCompletionServiceAsync
completions()
-
-
Method Detail
-
withRawResponse
ChatServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ChatServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
completions
ChatCompletionServiceAsync completions()
-
-
-
-