What's New in Version 1.2.0
Version 1.2.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”-
The
raiCLI now supports space-separated subcommands such asrai jobs listandrai reasoners list. Existingrai jobs:list-style commands still work, but interactive shells now show a one-time deprecation hint so you can migrate at your own pace. -
rai completion installadds shell completion setup for bash, zsh, and fish, andrai commandsgives you a browsable view of the available CLI command tree. -
Graph.cosine_similarity()now supports directed graphs.
Bug Fixes
Section titled “Bug Fixes”-
In scripts, CI, and other non-interactive runs, PyRel now shows the full error details before the final
RAIExceptionwhen type inference or similar compiler checks fail. Before, these failed checks could stop with only a genericsee above for detailsmessage with the real diagnostic missing. -
Problem.solve_for()now works when you solve for an inherited property or relationship. Prior to this fix, if aParentconcept defines aParent.fooproperty and theSubconcept inherits it by extendingParent,solve_for(Sub.foo)could raise aTypeError.