Skip to content

Python API Release Notes

1.8.0

Python SDK


Version 1.8.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • A standard relationalai install now includes the packages needed for predictive reasoning workflows. You no longer need to install using pip install relationalai[gnn].

  • If a model contains multiple exports to Snowflake tables, independent exports are now run concurrently.

Bug Fix

  • Predictive GNN edge tables now load in a stable order. gnn.dataset.tables indices are now deterministic across runs.

1.7.1

Python SDK


Version 1.7.1 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

Bug Fixes

  • Fixed a bug that prevented the creation of concepts with spaces and other special characters in their names.

  • Fixed a bug that caused some users to see the following error:

    Uncaught exception of type 'STATEMENT_ERROR' on line 88 at position 6 : Uncaught exception of type 'STATEMENT_ERROR' on line 46 at position 0 : SQL compilation error:
    Window function type [ROW_NUMBER] requires ORDER BY in window specification.
    

1.7.0

Python SDK


Version 1.7.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • Snowflake connections now support authenticator="oauth_client_credentials" for app-to-app OAuth flows. See OAuthClientCredentialsAuth for configuration details.
  • Added rai reasoners sizes to inspect available reasoner sizes.

Bug Fixes

  • PyRel now normalizes Snowflake object identifiers the same way that Snowflake does. This prevents errors that claim that existing objects can't be found.

1.6.0

Python SDK


Version 1.6.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

1.5.0

Python SDK


Version 1.5.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • 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.

Bug Fixes

  • 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.