NAME
OpenAI::API::Resource::Edit - edits endpoint
DESCRIPTION
Creates a new edit for the provided input, instruction, and parameters.
METHODS
new()
model
ID of the model to use. You can use the text-davinci-edit-001 or code-davinci-edit-001 model with this endpoint.
input [optional]
The input text to use as a starting point for the edit.
instruction
The instruction that tells the model how to edit the prompt.
n [optional]
How many edits to generate for the input and instruction.
temperature [optional]
What sampling temperature to use, between 0 and 2.
top_p [optional]
An alternative to sampling with temperature.
SEE ALSO
OpenAI API Documentation: Edits