snowflake.snowpark.functions.model¶
- snowflake.snowpark.functions.model(model_name: str, version_or_alias_name: Optional[str] = None) Callable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L10923-L10949)¶
Creates a model function that can be used to call a model method.
- Parameters:
model_name – The name of the model to call.
version_or_alias_name – The version or alias name of the model to call.
Example: