What's New in Version 1.0.16
Version 1.0.16 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiPerformance and Reliability
Section titled “Performance and Reliability”-
Repeated Graph API calls are now faster. When you call the same graph method with the same arguments, PyRel reuses the earlier graph relationship instead of rebuilding it. This applies to methods such as
reachable(), degree and neighbor methods, and several similarity, clustering, and centrality methods. See Run a graph algorithm and theGraphAPI reference for details. -
Problem.solve()now omits variable and expression when sending jobs to the prescriptive reasoner. This helps avoid exposing business data through generated names. If you need those names in printed solver output, setprint_formatto a format such aslp,mps, ormoi.
Bug Fixes
Section titled “Bug Fixes”-
Fixed property lookups in concept hierarchies with multiple parents. Before, when implicit properties were enabled, PyRel could create the property on the wrong parent and return missing or incorrect data. Now it uses the declared property instead. See Declare relationships and properties.
-
PyRel now warns about possible typos in implicitly created properties. Before, a near-match property name could silently create a new property. Now PyRel points out the likely mistake sooner. For example, if you access
Person.friendafter declaringPerson.friends, PyRel warnsDid you mean: friends. -
Fixed supertype membership for derived subtypes. Before, some subtype facts did not propagate all the way up the inheritance chain, so counts and membership queries on parent concepts could be incomplete.