Skip to content
These docs are for v1 of RelationalAI. Click here to view the v2 docs.

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:

Terminal window
python -m pip install "relationalai==1.2.0"

For the latest installation instructions, see Start building with PyRel.

  • In scripts, CI, and other non-interactive runs, PyRel now shows the full error details before the final RAIException when type inference or similar compiler checks fail. Before, these failed checks could stop with only a generic see above for details message with the real diagnostic missing.

  • Problem.solve_for() now works when you solve for an inherited property or relationship. Prior to this fix, if a Parent concept defines a Parent.foo property and the Sub concept inherits it by extending Parent, solve_for(Sub.foo) could raise a TypeError.