View Source ExOpenAi.Edit (ex_open_ai v0.1.4)

Represents an edit request to the OpenAI API.

examples

Examples

Link to this section Summary

Link to this section Functions

Link to this function

create(data, options \\ [])

View Source
@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()
}
Link to this function

keep_it_simple(response, arg2)

View Source
@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()
}