View Source OpenAI.Models (OpenAI API Wrapper v0.1.0)
Provides functions for listing and retrieving OpenAI models.
See OpenAI Models API documentation here.
Link to this section Summary
Link to this section Functions
@spec get(binary()) :: {:ok, map()} | {:error, OpenAI.Error.t()}
Retrieves the model with the given ID.
@spec list() :: {:ok, [map()]} | {:error, OpenAI.Error.t()}
Lists all available OpenAI models.