View Source
ExOpenAi.Edit
(ex_open_ai v0.1.7)
Represents an edit request to the OpenAI API.
@spec do_new(
%ExOpenAi.Edit{
choices: term(),
created: term(),
object: term(),
usage: term()
},
attributes :: list()
) :: %ExOpenAi.Edit{
choices: term(),
created: term(),
object: term(),
usage: term()
}
@spec new() :: %ExOpenAi.Edit{
choices: term(),
created: term(),
object: term(),
usage: term()
}
@spec new(attributes :: list()) :: %ExOpenAi.Edit{
choices: term(),
created: term(),
object: term(),
usage: term()
}