Interface OpenAIClientAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface OpenAIClientAsync.WithRawResponseA view of OpenAIClientAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract OpenAIClientAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. abstract CompletionServiceAsync.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 ChatServiceAsync.WithRawResponsechat()abstract EmbeddingServiceAsync.WithRawResponseembeddings()Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. abstract FileServiceAsync.WithRawResponsefiles()Files are used to upload documents that can be used with features like Assistants and Fine-tuning. abstract ImageServiceAsync.WithRawResponseimages()Given a prompt and/or an input image, the model will generate a new image. abstract AudioServiceAsync.WithRawResponseaudio()abstract ModerationServiceAsync.WithRawResponsemoderations()Given text and/or image inputs, classifies if those inputs are potentially harmful. abstract ModelServiceAsync.WithRawResponsemodels()List and describe the various models available in the API. abstract FineTuningServiceAsync.WithRawResponsefineTuning()abstract GraderServiceAsync.WithRawResponsegraders()abstract VectorStoreServiceAsync.WithRawResponsevectorStores()abstract WebhookServiceAsync.WithRawResponsewebhooks()abstract BetaServiceAsync.WithRawResponsebeta()abstract BatchServiceAsync.WithRawResponsebatches()Create large batches of API requests to run asynchronously. abstract UploadServiceAsync.WithRawResponseuploads()Use Uploads to upload large files in multiple parts. abstract AdminServiceAsync.WithRawResponseadmin()abstract ResponseServiceAsync.WithRawResponseresponses()abstract RealtimeServiceAsync.WithRawResponserealtime()abstract ConversationServiceAsync.WithRawResponseconversations()Manage conversations and conversation items. abstract EvalServiceAsync.WithRawResponseevals()Manage and run evals in the OpenAI platform. abstract ContainerServiceAsync.WithRawResponsecontainers()abstract SkillServiceAsync.WithRawResponseskills()abstract VideoServiceAsync.WithRawResponsevideos()-
-
Method Detail
-
withOptions
abstract OpenAIClientAsync.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 CompletionServiceAsync.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 ChatServiceAsync.WithRawResponse chat()
-
embeddings
abstract EmbeddingServiceAsync.WithRawResponse embeddings()
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
-
files
abstract FileServiceAsync.WithRawResponse files()
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
-
images
abstract ImageServiceAsync.WithRawResponse images()
Given a prompt and/or an input image, the model will generate a new image.
-
audio
abstract AudioServiceAsync.WithRawResponse audio()
-
moderations
abstract ModerationServiceAsync.WithRawResponse moderations()
Given text and/or image inputs, classifies if those inputs are potentially harmful.
-
models
abstract ModelServiceAsync.WithRawResponse models()
List and describe the various models available in the API.
-
fineTuning
abstract FineTuningServiceAsync.WithRawResponse fineTuning()
-
graders
abstract GraderServiceAsync.WithRawResponse graders()
-
vectorStores
abstract VectorStoreServiceAsync.WithRawResponse vectorStores()
-
webhooks
abstract WebhookServiceAsync.WithRawResponse webhooks()
-
beta
abstract BetaServiceAsync.WithRawResponse beta()
-
batches
abstract BatchServiceAsync.WithRawResponse batches()
Create large batches of API requests to run asynchronously.
-
uploads
abstract UploadServiceAsync.WithRawResponse uploads()
Use Uploads to upload large files in multiple parts.
-
admin
abstract AdminServiceAsync.WithRawResponse admin()
-
responses
abstract ResponseServiceAsync.WithRawResponse responses()
-
realtime
abstract RealtimeServiceAsync.WithRawResponse realtime()
-
conversations
abstract ConversationServiceAsync.WithRawResponse conversations()
Manage conversations and conversation items.
-
evals
abstract EvalServiceAsync.WithRawResponse evals()
Manage and run evals in the OpenAI platform.
-
containers
abstract ContainerServiceAsync.WithRawResponse containers()
-
skills
abstract SkillServiceAsync.WithRawResponse skills()
-
videos
abstract VideoServiceAsync.WithRawResponse videos()
-
-
-
-