Realtime Functions Example: Load Models as Files - Teradata Vantage

Teradata Vantage™ - Bring Your Own Model User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Vantage
Release Number
7.0
Published
October 2025
ft:locale
en-US
ft:lastEdition
2025-11-07
dita:mapPath
fee1607120608274.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
fee1607120608274
--Save ONNX model in alice datatase as file (applies for the other model types):

database alice;

--call SYSUIF.INSTALL_FILE(uif_name, uif_filename, 'cb!/local/path/model.onnx');
call SYSUIF.INSTALL_FILE('iris_db_rf_model','iris_db_rf_model','cb!./iris_db_dt_model.onnx');

--Get database id from alice:
select databaseid from dbc.dbase where databasename = 'alice';