Python package and CLI 1.20.0
PyRel 1.20.0 adds a prefix field to DeploymentConfig so multiple Cortex agents can share one Snowflake schema, and improves the error message for unsupported operators in prescriptive problem expressions.
How to install this version
Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:
python -m pip install "relationalai==1.20.0"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”-
Multiple Cortex agents can now share the same Snowflake schema by assigning each a unique
prefix. Previously, each agent required its own schema, leading to schema sprawl and management overhead. Now you can keep related agents together:from relationalai.agent.cortex import DeploymentConfig# Customer service agentservice_config = DeploymentConfig(database="APPS",schema="AGENTS",agent_name="customer_service",prefix="service", # stored procedures: service_RAI_*)# Sales agent in the same schemasales_config = DeploymentConfig(database="APPS",schema="AGENTS",agent_name="sales",prefix="sales", # stored procedures: sales_RAI_*)Existing deployments without a
prefixcontinue to work unchanged.
Bug Fixes
Section titled “Bug Fixes”-
Unsupported operators in prescriptive problems now raise clearer error messages. When you use an operator like
%or//in aProblemexpression, you get a helpful message that points you to fix the operator:# Now raises a NotImplementedError because % is not supportedproblem.add_constraint(quantity % 2 == 0)