Class OpenAI
java.lang.Object
io.github.stefanbratanov.jvm.openai.OpenAI
A class which when created using the
newBuilder(String)
can be used to create clients
based on the endpoints defined at API
Reference - OpenAI API-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
audioClient
- Returns:
- a client based on Audio
-
chatClient
- Returns:
- a client based on Chat
-
embeddingsClient
- Returns:
- a client based on Embeddings
-
fineTuningClient
- Returns:
- a client based on Fine-tuning
-
batchClient
- Returns:
- a client based on Batch
-
filesClient
- Returns:
- a client based on Files
-
imagesClient
- Returns:
- a client based on Images
-
modelsClient
- Returns:
- a client based on Models
-
moderationsClient
- Returns:
- a client based on Moderations
-
assistantsClient
- Returns:
- a client based on Assistants
-
threadsClient
- Returns:
- a client based on Threads
-
messagesClient
- Returns:
- a client based on Messages
-
runsClient
- Returns:
- a client based on Runs
-
runStepsClient
- Returns:
- a client based on Run Steps
-
vectorStoresClient
- Returns:
- a client based on Vector Stores
-
vectorStoreFilesClient
- Returns:
- a client based on Vector Store Files
-
vectorStoreFileBatchesClient
- Returns:
- a client based on Vector Store File Batches
-
newBuilder
- Parameters:
apiKey
- the API key used for authentication
-