models
Creates, updates, deletes, gets or lists a models resource.
Overview
| Name | models |
| Type | Resource |
| Id | digitalocean.inference.models |
Fields
The following fields are returned by SELECT queries:
- inference_list_models
A list of available models.
| Name | Datatype | Description |
|---|---|---|
id | string | The model identifier, which can be referenced in the API endpoints. (example: meta-llama/Meta-Llama-3.1-8B-Instruct) |
created | integer | The Unix timestamp (in seconds) when the model was created. |
object | string | The object type, which is always "model". (model) (example: model) |
owned_by | string | The organization that owns the model. (example: digitalocean) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
inference_list_models | select | Lists the currently available models, and provides basic information about each one such as the owner and availability. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples
- inference_list_models
Lists the currently available models, and provides basic information about each one such as the owner and availability.
SELECT
id,
created,
object,
owned_by
FROM digitalocean.inference.models
;