Skip to main content

models

Creates, updates, deletes, gets or lists a models resource.

Overview​

Namemodels
TypeResource
Iddigitalocean.inference.models

Fields​

The following fields are returned by SELECT queries:

A list of available models.

NameDatatypeDescription
idstringThe model identifier, which can be referenced in the API endpoints. (example: meta-llama/Meta-Llama-3.1-8B-Instruct)
createdintegerThe Unix timestamp (in seconds) when the model was created.
objectstringThe object type, which is always "model". (model) (example: model)
owned_bystringThe organization that owns the model. (example: digitalocean)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
inference_list_modelsselectLists 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.

NameDatatypeDescription

SELECT examples​

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
;