What's New in Version 1.20.0
Version 1.20.0 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiNew 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)