Releases: ranking-agent/reasoner-transpiler
Release v2.3.4
This version was mostly more refactoring of attribute handling for performance. It also moved knowledge source / provenance handling inside of transform_attributes so that Plater or other applications could call transform_attributes on a node or edge and have it convert every attribute into TRAPI without needing additional manipulation.
Release v2.3.3
This fixes a couple issues introduced by recent changes:
- some attributes were being included twice for edges in the knowledge_graph
- subclass edges that are returned in results as part of a variable length subclass edges and as a normal edge in a result could produce unintended or inefficient behavior
Release v2.3.2
This improves handling of edge binding ids when they don't exist in the graph, making them "edge_1" "edge_2" etc
Release v2.3.1
This release adds support for handling async neo4j driver responses back into transform_result, and an async driver to the pytest fixtures for testing.
Release v2.3.0
-
Reworked subclass handling. No longer return subclass node ids with a query_id in node bindings. Instead, when a subclass edge and node are used to infer a result, always return the queried node ids as node bindings, and create new edges that are composites of edges that match query edges and the subclass edges that were used to infer that result. Use support graphs (auxiliary graphs) to show when these edges were used to generate a result. Queries without edges do not perform node subclass inference anymore.
-
Updated dependencies, actions, and tests to support neo4j 5 and python 3.12 (as well as python 3.9).
-
Removed HTTP protocol functionality and NEO4J_PROTOCOL env var usage.
-
Added a fallback for attribute mapping lookups. If an attribute is not included in explicitly defined attribute type mappings, use the biolink model to see if it's valid biolink.
Release v2.2.6
- reworked formatting of results in cypher queries, removed the potential for redundant node and edge attributes
- added option to set a list of PREDICATES_IN_GRAPH, which filters predicates included in cypher queries and avoids making queries with predicates that aren't in the graph, throwing NoPossibleResultsException if the requested predicate is not in the graph
- reworked attribute type mapping: removed biolink lookups from the transpiler, consolidated attribute type and value type mappings, it now relies entirely on the provided attribute mapping file
Release v2.2.5
Now prepend biolink: back to all qualifier_type_id(s) during transform_results for TRAPI validation
Release v2.2.4
Previously we removed biolink: prefixes from qualifier or attribute constraints in Plater, but now we handle it in the transpiler with the rest of the attribute handling.
Release v2.2.3
Fixes missing resource ids in TRAPI analyses
Release v2.2.2
Fixes a bug where edges without ids would break bolt result transformation