commonMain.com.aallam.openai.client.Edits.kt Maven / Gradle / Ivy
package com.aallam.openai.client
import com.aallam.openai.api.edits.EditsRequest
import com.aallam.openai.api.edits.Edit
/**
* Given a prompt and an instruction, the model will return an edited version of the prompt.
*/
public interface Edits {
/**
* Creates a new edit for the provided input, instruction, and parameters.
*/
public suspend fun edit(request: EditsRequest): Edit
}