models
Creates, updates, deletes, gets or lists a models resource.
Overview
| Name | models |
| Type | Resource |
| Id | snowflake.cortex_inference.models |
Fields
The following fields are returned by SELECT queries:
- get_models
| Name | Datatype | Description |
|---|---|---|
models | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_models | select | endpoint | Returns 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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | Organization and Account Name (default: orgid-acctid) |
SELECT examples
- get_models
Returns the LLMs available for the current session
SELECT
models
FROM snowflake.cortex_inference.models
WHERE endpoint = '{{ endpoint }}' -- required
;