ExOpenAI.Models.list_models

You're seeing just the function list_models, go back to ExOpenAI.Models module for more information.

Specs

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

Lists the currently available models, and provides basic information about each one such as the owner and availability.

Endpoint: https://api.openai.com/v1/models

Method: GET

Docs: https://platform.openai.com/docs/api-reference/models


Required Arguments:

Optional Arguments: