Package-level declarations

Types

Link copied to clipboard
@Serializable
class Edit(val created: Long, val choices: List<Choice>, val usage: Usage)

Response to the edit creation request.

Link copied to clipboard
@Serializable
class EditsRequest(val model: ModelId, val instruction: String, val input: String? = null, val temperature: Double? = null, val topP: Double? = null)

A request for OpenAI to creates a new edit for the provided input, instruction, and parameters.

Link copied to clipboard

Builder of EditsRequest instances.

Functions

Link copied to clipboard

A request for OpenAI to creates a new edit for the provided input, instruction, and parameters.