Skip to main content
Call Nori from Snowflake SQL to predict numeric targets on your tables. Nori is in-context: you pass some labeled rows as examples and the rows you want scored, and it returns one prediction per row in a single forward pass — no training or fine-tuning.

Hosted connector

A SQL function that calls the hosted Nori endpoint. Fastest to set up — works today.

Native App (in-account)

Runs Nori inside your Snowflake account via Snowpark Container Services. Your data never leaves the account. Coming to Snowflake Marketplace.

Hosted connector

A Snowflake external-access function calls the hosted Nori endpoint. The model runs on Synthefy’s cloud; Snowflake sends the rows and gets predictions back.
The rows you pass are sent to the hosted endpoint for scoring. If your workload requires data to stay inside your Snowflake account, use the Native App instead.
Prerequisites
1

ACCOUNTADMIN role

Needed to create the external access integration (CREATE INTEGRATION).
2

A Nori API key

See API key.
3

A warehouse

Any warehouse, to run the function.

Set up (once)

Run each step in a Snowsight worksheet as ACCOUNTADMIN.
1

Create a namespace

Namespace
2

Add the egress rule and your API key

Replace <YOUR_NORI_API_KEY> with your key (highlighted line).
Network rule + secret
3

Create the external access integration

Integration
4

Create the prediction function

Uses only the Python standard library — nothing to install.
nori_predict

Predict

Returns two numbers — confirms the connector works end to end.
Smoke test
setup.sql

Notes

Numeric features only. Encode categorical columns (one-hot or ordinal) before calling.
Cold start. The first call after idle can take up to ~2 minutes while the model warms up; subsequent calls are fast.
Size & alignment. Snowflake ARRAY values cap at 16 MB — sample the labeled rows for very large context tables. Always aggregate x_train and y_train with the same ORDER BY.

Native App (in-account)

For workloads that require data to stay inside your Snowflake account, Nori is also available as a Snowflake Native App that runs the model in-account using Snowpark Container Services — no data leaves your account. You call it exactly like the hosted connector:
In-account call
The in-account Native App is rolling out via the Snowflake Marketplace. Contact support@synthefy.com for early access.