Skip to content

Python package and CLI 1.30.1

Model deployment now validates generated SQL by default and supports scheduled prescriptive solves in Snowflake for users of the by-request prescriptive reasoning Public Preview who configure a Snowflake identity.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.30.1"

For the latest installation instructions, see Start building with PyRel.

  • When you deploy a model, RelationalAI now checks the generated SQL first and stops with a clear error instead of letting the deploy succeed and then potentially fail later on its first refresh. The check is on by default. Set deployment.validate_sql to false to skip it.

  • You can now deploy a model that contains a prescriptive Problem, and have Snowflake solve it on each scheduled refresh without keeping a Python session open. It runs under a Snowflake identity you configure with the new deployment.pat_user and deployment.pat_warehouse settings.

  • Deployed model outputs that filter rows with a match or union inside where() now evaluate that filter for each current row. This fixes a bug that could cause affected outputs to include extra rows or return no rows.