ExOpenAI.Models (ex_openai.ex v1.0.4) View Source
Modules for interacting with the models
group of OpenAI APIs
API Reference: https://platform.openai.com/docs/api-reference/models
Link to this section Summary
Functions
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Link to this section Functions
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