Skip to content

What's New in Version 0.8.28

  • Improved support for Snowflake notebooks. When using a Snowflake notebook, the Model constructor now automatically picks up your Snowflake session so that you don’t need to explicitly provide those values or manually get the session and pass it to the constructor:

    # NEW
    import relationalai as rai
    # The session is automatically picked up from the Snowflake notebook, so the
    # following creates a model using the current session and the default RAI
    # configuration values.
    model = rai.Model("MyModel")

    Previously, you needed to import the snowflake.snowpark package and manually get the session:

    # OLD
    import relationalai as rai
    from snowflake.snowpark.context import get_active_session
    session = get_active_session()
    model = rai.Model("MyModel", connection=session)
  • Fixed a bug in exported stored procedures that could cause source data to be unavailable to the stored procedure.

  • Fixed a bug that caused properties automatically created from Snowflake tables or views to be multi-valued instead of single-valued.