If you want to make changes to an export, you must push a new version. This packages the current state of the project (also known as the HEAD commit on the main branch) as a new version of the exported model. Then, Snowflake overwrites the published UDF.
-
In the navigation pane, click Exports.
-
Click the name of the model for which you want to create a new version.
-
Go to Actions > Push new version.
-
Enter the File Name for the file that contains the predict function.
-
In Function to Invoke, enter the name of the predict function to call from the external provider.
-
If necessary, select a different Environment in which to run the model.
-
Click Next.
-
Enter your Snowflake Username, Snowflake Password, and select a User Role for the external provider, then click Authenticate & Export.