Interface OpenAIClient.WithRawResponse
-
- All Implemented Interfaces:
public interface OpenAIClient.WithRawResponseA view of OpenAIClient that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract OpenAIClient.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. abstract 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. abstract ChatService.WithRawResponsechat()abstract EmbeddingService.WithRawResponseembeddings()Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. abstract FileService.WithRawResponsefiles()Files are used to upload documents that can be used with features like Assistants and Fine-tuning. abstract ImageService.WithRawResponseimages()Given a prompt and/or an input image, the model will generate a new image. abstract AudioService.WithRawResponseaudio()abstract ModerationService.WithRawResponsemoderations()Given text and/or image inputs, classifies if those inputs are potentially harmful. abstract ModelService.WithRawResponsemodels()List and describe the various models available in the API. abstract FineTuningService.WithRawResponsefineTuning()abstract GraderService.WithRawResponsegraders()abstract VectorStoreService.WithRawResponsevectorStores()abstract WebhookService.WithRawResponsewebhooks()abstract BetaService.WithRawResponsebeta()abstract BatchService.WithRawResponsebatches()Create large batches of API requests to run asynchronously. abstract UploadService.WithRawResponseuploads()Use Uploads to upload large files in multiple parts. abstract AdminService.WithRawResponseadmin()abstract ResponseService.WithRawResponseresponses()abstract RealtimeService.WithRawResponserealtime()abstract ConversationService.WithRawResponseconversations()Manage conversations and conversation items. abstract EvalService.WithRawResponseevals()Manage and run evals in the OpenAI platform. abstract ContainerService.WithRawResponsecontainers()abstract SkillService.WithRawResponseskills()abstract VideoService.WithRawResponsevideos()-
-
Method Detail
-
withOptions
abstract 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
abstract 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
abstract ChatService.WithRawResponse chat()
-
embeddings
abstract EmbeddingService.WithRawResponse embeddings()
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
-
files
abstract FileService.WithRawResponse files()
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
-
images
abstract ImageService.WithRawResponse images()
Given a prompt and/or an input image, the model will generate a new image.
-
audio
abstract AudioService.WithRawResponse audio()
-
moderations
abstract ModerationService.WithRawResponse moderations()
Given text and/or image inputs, classifies if those inputs are potentially harmful.
-
models
abstract ModelService.WithRawResponse models()
List and describe the various models available in the API.
-
fineTuning
abstract FineTuningService.WithRawResponse fineTuning()
-
graders
abstract GraderService.WithRawResponse graders()
-
vectorStores
abstract VectorStoreService.WithRawResponse vectorStores()
-
webhooks
abstract WebhookService.WithRawResponse webhooks()
-
beta
abstract BetaService.WithRawResponse beta()
-
batches
abstract BatchService.WithRawResponse batches()
Create large batches of API requests to run asynchronously.
-
uploads
abstract UploadService.WithRawResponse uploads()
Use Uploads to upload large files in multiple parts.
-
admin
abstract AdminService.WithRawResponse admin()
-
responses
abstract ResponseService.WithRawResponse responses()
-
realtime
abstract RealtimeService.WithRawResponse realtime()
-
conversations
abstract ConversationService.WithRawResponse conversations()
Manage conversations and conversation items.
-
evals
abstract EvalService.WithRawResponse evals()
Manage and run evals in the OpenAI platform.
-
containers
abstract ContainerService.WithRawResponse containers()
-
skills
abstract SkillService.WithRawResponse skills()
-
videos
abstract VideoService.WithRawResponse videos()
-
-
-
-