In the refactored code, SQLFlow compiles an SQL program into a YAML file with target Python code, the Python code should be able to load a model from the database to do prediction, explain, etc. If we write a statement like SELECT ... TO PREDICT ... USING sqlflowmodelzoo.org:50055/my_exported_model:v0.1, the Python code should be able to download the model from the model zoo and run the prediction job.
In the refactored code, SQLFlow compiles an SQL program into a YAML file with target Python code, the Python code should be able to load a model from the database to do prediction, explain, etc. If we write a statement like
SELECT ... TO PREDICT ... USING sqlflowmodelzoo.org:50055/my_exported_model:v0.1
, the Python code should be able to download the model from the model zoo and run the prediction job.