All Classes and Interfaces

Class
Description
Represents an assistant that can call the model and use tools.
A list of Files attached to an assistant.
Build assistants that can call models and use tools to perform tasks.
 
 
Turn audio into text or text into audio.
Given a list of messages comprising a conversation, the model will return a response.
Represents a chat completion response returned by model, based on the provided input.
 
A chat completion message generated by the model.
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
 
A chat completion delta generated by streamed model responses.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Represents an embedding vector returned by embedding endpoint.
 
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
 
 
 
Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
Manage fine-tuning jobs to tailor a model to your specific training data.
 
 
The fine_tuning.job object represents a fine-tuning job that has been created through the API.
 
The hyperparameters used for the fine-tuning job
 
 
 
Given a prompt and/or an input image, the model will generate a new image.
Log probability information
 
 
Create messages within threads
 
 
 
List and describe the various models available in the API.
Represents policy compliance report by OpenAI's content moderation model against a given input.
 
 
 
 
 
Given a input text, outputs if the model classifies it as violating OpenAI's content policy.
 
 
 
 
 
 
 
 
A class which when created using the OpenAI.newBuilder(String) can be used to create clients based on the endpoints defined at API Reference - OpenAI API
 
Exceptions will be based on Error Codes - OpenAI API
 
 
 
Represents an execution run on a thread.
 
 
 
 
An interface which is used to subscribe to streamed partial responses
 
 
 
A Thread represents a conversation.
Represents a message within a thread.
 
 
 
 
 
 
 
 
 
 
A list of files attached to a message.
Represents an execution run on a thread.
The last error associated with this run.
Details on the action required to continue the run.
 
Represents a step in execution of a run.
The last error associated with this run step.
The details of the run step.
 
 
 
Create threads that assistants can interact with.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Specifies a tool the model should use.
 
 
 
 
 
 
 
Usage statistics *