ModelApi extension
- on
Methods
-
getModel(
String modelId) → Future< ModelResponse> -
Available on OpenaiClient, provided by the ModelApi extension
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.modelId
The ID of the model to use for this request -
listModels(
) → Future< ModelListResponse> -
Available on OpenaiClient, provided by the ModelApi extension
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Constants
- kModelEndpoint → const String