ExOpenAI.Engines (ex_openai.ex v0.2.0) View Source
Link to this section Summary
Functions
list_engines(opts \\ [])
deprecated
Endpoint /engines
retrieve_engine(engine_id, opts \\ [])
deprecated
Endpoint /engines/{engine_id}
Link to this section Types
Specs
list_engines_opts() :: []
Specs
retrieve_engine_opts() :: []
Link to this section Functions
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:
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