ModelsApi class
Methods
-
createModel(Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Register a model (admin-only).
-
createModelWithHttpInfo(Map<String, Object> requestBody)
→ Future<Response>
-
Register a model (admin-only).
-
deleteModel(String id)
→ Future<void>
-
Delete a model (admin-only).
-
deleteModelWithHttpInfo(String id)
→ Future<Response>
-
Delete a model (admin-only).
-
getActiveModel({String? provider})
→ Future<Map<String, Object>?>
-
Get the active model for a given provider.
-
getActiveModelWithHttpInfo({String? provider})
→ Future<Response>
-
Get the active model for a given provider.
-
getModel(String id)
→ Future<Map<String, Object>?>
-
Fetch a model.
-
getModelWithHttpInfo(String id)
→ Future<Response>
-
Fetch a model.
-
listModels()
→ Future<Map<String, Object>?>
-
List every LLM model the platform knows about.
-
listModelsWithHttpInfo()
→ Future<Response>
-
List every LLM model the platform knows about.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setActiveModel(String id)
→ Future<Map<String, Object>?>
-
Set a model as the active default for its provider (admin-only).
-
setActiveModelWithHttpInfo(String id)
→ Future<Response>
-
Set a model as the active default for its provider (admin-only).
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateModel(String id, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Update a model (admin-only).
-
updateModelWithHttpInfo(String id, Map<String, Object> requestBody)
→ Future<Response>
-
Update a model (admin-only).