View Source OpenAI.Behaviours.CompletionsBehaviour behaviour (OpenAI API Wrapper v0.1.0)

Link to this section Summary

Link to this section Callbacks

Link to this callback

create(binary, arg2, list)

View Source
@callback create(binary(), binary() | [binary()], [OpenAI.Completions.create_params()]) ::
  {:ok, map()} | {:error, OpenAI.Error.t()}