All Classes and Interfaces
Class
Description
Deprecated.
Represents the request from the OpenAI DALL·E API when generating images.
Represents the response from the OpenAI DALL·E API when generating images.
Represents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3.
A factory for building
OpenAiChatModel.OpenAiChatModelBuilder
instances.Represents an OpenAI embedding model, such as text-embedding-ada-002.
A factory for building
OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
instances.Represents an OpenAI DALL·E models to generate artistic images.
A factory for building
OpenAiImageModel.OpenAiImageModelBuilder
instances.Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
Builder class for constructing instances of
OpenAiLanguageModel
.A factory for building
OpenAiLanguageModel.OpenAiLanguageModelBuilder
instances.Represents an OpenAI moderation model, such as text-moderation-latest.
A factory for building
OpenAiModerationModel.OpenAiModerationModelBuilder
instances.Represents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3.
A factory for building
OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
instances.Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
A factory for building
OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
instances.This class needs to be thread safe because it is called when a streaming result comes back
and there is no guarantee that this thread will be the same as the one that initiated the request,
in fact it almost certainly won't be.
This class can be used to estimate the cost (in tokens) before calling OpenAI.
Provides a mechanism to cancel the response after a request has been initiated.