Class OpenAIClientImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.client.OpenAIClient.WithRawResponse
public final class OpenAIClientImpl.WithRawResponseImpl implements OpenAIClient.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description OpenAIClient.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletionService.WithRawResponsecompletions()Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. ChatService.WithRawResponsechat()EmbeddingService.WithRawResponseembeddings()Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. FileService.WithRawResponsefiles()Files are used to upload documents that can be used with features like Assistants and Fine-tuning. ImageService.WithRawResponseimages()Given a prompt and/or an input image, the model will generate a new image. AudioService.WithRawResponseaudio()ModerationService.WithRawResponsemoderations()Given text and/or image inputs, classifies if those inputs are potentially harmful. ModelService.WithRawResponsemodels()List and describe the various models available in the API. FineTuningService.WithRawResponsefineTuning()GraderService.WithRawResponsegraders()VectorStoreService.WithRawResponsevectorStores()WebhookService.WithRawResponsewebhooks()BetaService.WithRawResponsebeta()BatchService.WithRawResponsebatches()Create large batches of API requests to run asynchronously. UploadService.WithRawResponseuploads()Use Uploads to upload large files in multiple parts. ResponseService.WithRawResponseresponses()RealtimeService.WithRawResponserealtime()ConversationService.WithRawResponseconversations()Manage conversations and conversation items. EvalService.WithRawResponseevals()Manage and run evals in the OpenAI platform. ContainerService.WithRawResponsecontainers()SkillService.WithRawResponseskills()VideoService.WithRawResponsevideos()-
-
Method Detail
-
withOptions
OpenAIClient.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
completions
CompletionService.WithRawResponse completions()
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
-
chat
ChatService.WithRawResponse chat()
-
embeddings
EmbeddingService.WithRawResponse embeddings()
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
-
files
FileService.WithRawResponse files()
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
-
images
ImageService.WithRawResponse images()
Given a prompt and/or an input image, the model will generate a new image.
-
audio
AudioService.WithRawResponse audio()
-
moderations
ModerationService.WithRawResponse moderations()
Given text and/or image inputs, classifies if those inputs are potentially harmful.
-
models
ModelService.WithRawResponse models()
List and describe the various models available in the API.
-
fineTuning
FineTuningService.WithRawResponse fineTuning()
-
graders
GraderService.WithRawResponse graders()
-
vectorStores
VectorStoreService.WithRawResponse vectorStores()
-
webhooks
WebhookService.WithRawResponse webhooks()
-
beta
BetaService.WithRawResponse beta()
-
batches
BatchService.WithRawResponse batches()
Create large batches of API requests to run asynchronously.
-
uploads
UploadService.WithRawResponse uploads()
Use Uploads to upload large files in multiple parts.
-
responses
ResponseService.WithRawResponse responses()
-
realtime
RealtimeService.WithRawResponse realtime()
-
conversations
ConversationService.WithRawResponse conversations()
Manage conversations and conversation items.
-
evals
EvalService.WithRawResponse evals()
Manage and run evals in the OpenAI platform.
-
containers
ContainerService.WithRawResponse containers()
-
skills
SkillService.WithRawResponse skills()
-
videos
VideoService.WithRawResponse videos()
-
-
-
-