All Classes and Interfaces

Class
Description
Abstract class for WorkerAI models as they are all initialized the same way.
Multiple models leverage the same output format, so we can use this class to parse the response.
Error class.
Public interface to interact with the WorkerAI API.
Represents a request for AI chat completion.
Represents a message in the AI chat.
Defines the roles a message can have in the chat conversation.
Wrapper for the chat completion response.
WorkerAI Chat model.
Internal Builder.
A factory for building WorkersAiChatModel.Builder instances.
Enum for Workers AI Chat Model Name.
Low level client to interact with the WorkerAI API.
An interceptor for HTTP requests to add an authorization token to the header.
WorkerAI Embedding model.
Internal Builder.
A factory for building WorkersAiEmbeddingModel.Builder instances.
Enum for Workers AI Embedding Model Name.
Request to compute embeddings
Response to compute embeddings
Beam to hold results
Request to generate an image.
Response to generate an image.
Body of the image generating process
WorkerAI Image model.
Internal Builder.
A factory for building WorkersAiImageModel.Builder instances.
Enum for Workers AI Omage Model Name.
WorkerAI Language model.
Internal Builder.
A factory for building WorkersAiLanguageModel.Builder instances.
Request to complete a text.
Wrapper for the text completion response.
Wrapper for the text completion response.