Package io.github.stefanbratanov.jvm.openai
package io.github.stefanbratanov.jvm.openai
-
ClassDescriptionRepresents 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.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.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 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 jobGiven a prompt and/or an input image, the model will generate a new image.Log probability informationCreate messages within threadsList 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 APIExceptions will be based on Error Codes - OpenAI APIRepresents an execution run on a thread.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.