ranking-agent / aragorn-ranker

Exposes TRAPI functions to add literature co-occurrence edges, convert publications to edge weights, and provide scores for answers.
MIT License
0 stars 1 forks source link

move to redisgraph #97

Closed cbizon closed 1 year ago

cbizon commented 1 year ago

This PR replaces the combination postgres / redis system with a single redisgraph system. This simplifies the OmniCorpSupport stuff a lot. Now each CURIE is a node in the redisgraph, with an node property of publication_count. Edges from Curie to Curie have a property with shared publication count. Queries to the redisgraph are cypher and are batched using UNWIND.