Package io.github.stefanbratanov.jvm.openai
package io.github.stefanbratanov.jvm.openai
-
ClassDescriptionRepresents an assistant that can call the model and use tools.Build assistants that can call models and use tools to perform tasks.Could be either
AssistantsResponseFormat.StringResponseFormat
orResponseFormat
Could be eitherAssistantsToolChoice.StringToolChoice
orToolChoice
An interface which is used to subscribe to assistant events emitted when streaming a Run.Turn audio into text or text into audio.A log of a user action or configuration change within this organization.The actor who performed the audit logged action.The API Key used to perform the audit logged action.The service account that performed the audit logged action.The user who performed the audit logged action.The session in which the audit logged action was performed.The user who performed the audit logged action.The project that the action was scoped to.The details for the different types of audit log eventsLogs of user actions and configuration changes within this organization.Create large batches of API requests to run asynchronously.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.An interface which is used to subscribe to streamed partial responsesDetails of the tool call theThreadRunStepDelta
was involved in.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.The expiration policy for a vector store.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 jobThe fine_tuning.job.checkpoint object represents a model checkpoint for a fine-tuning job that is ready to use.Function that the model may generate JSON inputs for.Given a prompt and/or an input image, the model will generate a new image.Represents an individual `invite` to the organization.Invite and manage invitations for an organization.The last error associated with an objectLog probability informationCreate messages within threadsList and describe the various models available in the API.Represents if a given text input is potentially harmful.Given some input text, outputs if the model classifies it as potentially harmful across several categories.A class which when created using theOpenAI.Builder
can be used to create clients based on the endpoints defined at API Reference - OpenAI APIExceptions will be based on Error Codes - OpenAI APIRepresents the latest OpenAI models.Represents an individual project.Represents an individual API key in a project.Manage API keys for a given project.Manage the projects within an organization includes creation, updating, and archiving or projects.Represents an individual service account in a project.Manage service accounts within a project.Represents an individual user in a project.Manage users within a project, including adding, updating roles, and removing users.The intended purpose of a fileAn object specifying the format that the model must output.Represents an execution run on a thread.Represents the steps (model and tool calls) taken during the run.A Thread represents a conversation.Represents a message within a thread.On an incomplete message, details about why the message is incomplete.Represents a message delta i.e.The delta containing the fields that have changed on the Message.Represents an execution run on a thread.Details on why the run is incomplete.Details on the action required to continue the run.Represents a step in execution of a run.The details of the run step.Represents a run step delta i.e.The delta containing the fields that have changed on the run step.The details of the run step.Create threads that assistants can interact with.Specifies a tool the model should use.A set of resources that are used by the assistant's tools.EitherToolResources.FileSearch.vectorStoreIds
orToolResources.FileSearch.vectorStores
must be present, but not both of them.Thread Truncation ControlsAllows you to upload large files in multiple parts.Usage statisticsRepresents an individual user within an organization.Manage users and their role in an organization.A vector store is a collection of processed files can be used by the file_search tool.A file attached to a vector store.A batch of files attached to a vector store.Vector store file batches represent operations to add multiple files to a vector store.Vector store files represent files inside a vector store.Vector stores are used to store files for use by the file_search tool.The voice to use when generating an audio