Package com.openai.client
Class OpenAIClientImpl
-
- All Implemented Interfaces:
-
com.openai.client.OpenAIClient
public final class OpenAIClientImpl implements OpenAIClient
-
-
Constructor Summary
Constructors Constructor Description OpenAIClientImpl(ClientOptions clientOptions)
-
Method Summary
Modifier and Type Method Description OpenAIClientAsyncasync()CompletionServicecompletions()ChatServicechat()EmbeddingServiceembeddings()FileServicefiles()ImageServiceimages()ModerationServicemoderations()ModelServicemodels()FineTuningServicefineTuning()BetaServicebeta()BatchServicebatches()UploadServiceuploads()-
-
Constructor Detail
-
OpenAIClientImpl
OpenAIClientImpl(ClientOptions clientOptions)
-
-
Method Detail
-
async
OpenAIClientAsync async()
-
completions
CompletionService completions()
-
chat
ChatService chat()
-
embeddings
EmbeddingService embeddings()
-
files
FileService files()
-
images
ImageService images()
-
moderations
ModerationService moderations()
-
models
ModelService models()
-
fineTuning
FineTuningService fineTuning()
-
beta
BetaService beta()
-
batches
BatchService batches()
-
uploads
UploadService uploads()
-
-
-
-