ExOpenAI.Engines (ex_openai.ex v0.2.0) View Source

Link to this section Summary

Functions

Endpoint /engines

Endpoint /engines/{engine_id}

Link to this section Types

Specs

list_engines_opts() :: []
Link to this type

retrieve_engine_opts()

View Source

Specs

retrieve_engine_opts() :: []

Link to this section Functions

Link to this function

list_engines(opts \\ [])

View Source
This function is deprecated. Deprecated by OpenAI.

Specs

list_engines([[]]) ::
  {:ok, ExOpenAI.Components.ListEnginesResponse.t()} | {:error, any()}

Endpoint /engines

Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.


Required Arguments:

Optional Arguments:

Link to this function

retrieve_engine(engine_id, opts \\ [])

View Source
This function is deprecated. Deprecated by OpenAI.

Specs

retrieve_engine(String.t(), [[]]) ::
  {:ok, ExOpenAI.Components.Engine.t()} | {:error, any()}

Endpoint /engines/{engine_id}

Retrieves a model instance, providing basic information about it such as the owner and availability.


Required Arguments:

  • engine_id

Example: davinci

Optional Arguments: