query_suggestions
Creates, updates, deletes, gets or lists a query_suggestions
resource.
Overview
Name | query_suggestions |
Type | Resource |
Id | snowflake.cortex_analyst.query_suggestions |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
generate_verified_query_suggestions | exec | endpoint | Generate VQ suggestions for a semantic model |
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) |
Lifecycle Methods
- generate_verified_query_suggestions
Generate VQ suggestions for a semantic model
EXEC snowflake.cortex_analyst.query_suggestions.generate_verified_query_suggestions
@endpoint='{{ endpoint }}' --required
@@json=
'{
"semantic_model": "{{ semantic_model }}",
"warehouse": "{{ warehouse }}",
"experimental": "{{ experimental }}"
}';