All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.aallam.openai.client.Edits.kt Maven / Gradle / Ivy

There is a newer version: 4.0.0-beta01
Show newest version
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