Python package and CLI 1.4.1
PyRel 1.4.1 adds predictive reasoning APIs and includes several bug fixes.
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.4.1"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”-
Added a new predictive reasoning API under
relationalai.semantics.reasoners.predictive. It includesGNNfor training, loading, registering, and predicting with Graph Neural Networks. -
rai initnow gives clearer step-by-step terminal guidance. New config templates also default to browser-based Snowflake authentication instead of password placeholders. For interactive Snowflake sign-in, see Configure external browser authentication.
Bug Fixes
Section titled “Bug Fixes”-
Fixed prescriptive aggregate correctness bugs when defining a
Problem. -
Fixed a recursion error caused by some expressions like
model.where(count(B) >= 0).define(C.new(val=B)). -
rai reasoners:listand the interactive reasoner picker no longer fail if the backend returns unknown reasoner types. -
Problem.solve()now sends numeric type metadata to the solver service. This prevents float-valued MiniZinc solves from falling back to an integer-only path and failing with inexact conversion errors.