Package com.openai.client.okhttp
Class OpenAIOkHttpClientAsync
-
- All Implemented Interfaces:
public final class OpenAIOkHttpClientAsync
A class that allows building an instance of OpenAIClientAsync with OkHttpClient as the underlying HttpClient.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
OpenAIOkHttpClientAsync.Builder
A builder for OpenAIOkHttpClientAsync.
-
Method Summary
Modifier and Type Method Description final static OpenAIOkHttpClientAsync.Builder
builder()
Returns a mutable builder for constructing an instance of OpenAIClientAsync. final static OpenAIClientAsync
fromEnv()
Returns a client configured using system properties and environment variables. -
-
Method Detail
-
builder
final static OpenAIOkHttpClientAsync.Builder builder()
Returns a mutable builder for constructing an instance of OpenAIClientAsync.
-
fromEnv
final static OpenAIClientAsync fromEnv()
Returns a client configured using system properties and environment variables.
-
-
-
-