The model that you create in Domino must meet the following requirements to be hosted in Snowflake:
Model must be created in Python 3.8.
You must create a file named
requirements.txtin the root folders (for example, the
rootfolder of the main Git-based project,
rootfolder of an imported repository, or
rootfolder of imported projects)
This file defines the list of required packages for the model. See https://github.com/binder-examples/requirements/blob/master/requirements.txt for an example, and see Add Packages to Environments for more details.
Must have Python-type hints for the model function input and return variables.
For the model to be monitored, you must have the following:
timestampcolumn in your prediction dataset.
The name of the table that contains the prediction data.
Domino looks for entries in table with new timestamps to continuously ingest new data in batches.