Python package and CLI 1.0.7
PyRel 1.0.7 moves auto_suspend_mins to rai reasoners:alter and await_storage_vacuum to rai reasoners:create instead of raiconfig.yaml.
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.0.7"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”-
Added
Relationship.ref()for relationships declared directly, not attached to a concept attribute. Before, if you used the same standalone relationship twice in one query, PyRel treated both uses as the same query occurrence, so they could not match independently. Now,Relationship.ref()gives you a second occurrence of the same relationship definition, similar toChain.ref(). -
Debugger UI packages are now optional. Before, a standard PyRel install included
niceguieven if you did not use the debugger. Now a standard install stays smaller, and if you do use the debugger without its extra packages, PyRel tells you to installrelationalai[debugger].
Bug Fixes
Section titled “Bug Fixes”- Fixed
select()withnot_()soselect(not_(expr))evaluates to a boolean result. Before, selecting a negated expression did not behave the same way as selecting other boolean expressions such asx == 2. Nowselect(not_(expr))works like a normal boolean selection.
Upgrade Notes
Section titled “Upgrade Notes”auto_suspend_minsandawait_storage_vacuumare no longer managed inraiconfig.yaml. Before, these reasoner lifecycle settings could appear inraiconfig.yaml, andrai init --migratecould carry them over when convertingraiconfig.tomltoraiconfig.yaml. Now PyRel warns if they appear in config and leaves them out of the generatedraiconfig.yamlduring migration. Manageauto_suspend_minswithrai reasoners:alter. Setawait_storage_vacuumwhen you create a reasoner withrai reasoners:create. For broader reasoner configuration, see Configure reasoners.