Skip to content

Python package and CLI 1.5.0

PyRel 1.5.0 adds a new rai doctor CLI command group for diagnostics, supports additional Snowflake connection settings in config, and includes several bug fixes.

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.5.0"

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

  • Added diagnostics CLI commands under rai doctor, including doctor:report and doctor:cache:check for cache checks.

  • PyRel now accepts optional Snowflake connector and session settings in its Snowflake connection config, including client_session_keep_alive, login_timeout, network_timeout, socket_timeout, and session_parameters. Before this change, you could not set these options through PyRel config and had to rely on Snowflake connector defaults. Now you can tune long-running or idle-sensitive Snowflake connections from PyRel config.

  • cumsum_asc() now handles multiple sort keys correctly. Before this change, cumulative sums could be wrong when you ordered by more than one sort key.

  • Graph validation now catches a few edge cases earlier. Before this change, some invalid node types were not caught until later in the execution path. Now you’ll see those errors earlier.

  • Fixed a bug that caused weighted Jaccard or cosine similarity to behave inconsistently for zero-weight edges.