OpenAI.Models (openai v0.2.0)
List and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them.
Link to this section Summary
Functions
Delete a fine-tuned model. You must have the Owner role in your organization.
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Link to this section Functions
delete(client, id, opts \\ [])
@spec delete(OpenAI.Client.t(), String.t(), Keyword.t()) :: OpenAI.Client.result()
Delete a fine-tuned model. You must have the Owner role in your organization.
list(client, opts \\ [])
@spec list(OpenAI.Client.t(), Keyword.t()) :: OpenAI.Client.result()
Lists the currently available models, and provides basic information about each one such as the owner and availability.
retrieve(client, id, opts \\ [])
@spec retrieve(OpenAI.Client.t(), String.t(), Keyword.t()) :: OpenAI.Client.result()
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.