Python package and CLI 1.2.0
PyRel 1.2.0 adds easier CLI navigation, directed graph support in Graph.cosine_similarity(), and fixes several bugs.
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.2.0"For the latest installation instructions, see Start building with PyRel.
New 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.