Skip to main content

models

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

Overview

Namemodels
TypeResource
Idsnowflake.cortex_inference.models

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
modelsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_modelsselectendpointReturns the LLMs available for the current session

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
endpointstringOrganization and Account Name (default: orgid-acctid)

SELECT examples

Returns the LLMs available for the current session

SELECT
models
FROM snowflake.cortex_inference.models
WHERE endpoint = '{{ endpoint }}' -- required;