commonMain.com.aallam.openai.client.Edits.kt Maven / Gradle / Ivy
package com.aallam.openai.client
import com.aallam.openai.api.edits.Edit
import com.aallam.openai.api.edits.EditsRequest
/**
* 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.
*/
@Deprecated("Edits is deprecated. Chat completions is the recommend replacement.")
public suspend fun edit(request: EditsRequest): Edit
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy