GithubHelp home page GithubHelp logo

ranking-agent / aragorn Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 4.04 MB

A Translator ARA combining asynchronous database querying, answer coalescence, and answer ranking.

License: MIT License

Dockerfile 0.70% Python 98.71% Shell 0.59%
ara ncats-translator trapi

aragorn's Introduction

ARAGORN

Autonomous Relay Agent for Generation Of Ranked Networks (ARAGORN)

A tool to query Knowledge Providers (KPs) and synthesize highly ranked answers relevant to user-specified questions.

  • Operates in a federated knowledge environment.
  • Bridges the precision mismatch between data specificity in KPs and more abstract levels of user queries.
  • Generalizes answer ranking.
  • Normalizes data to use preferred and equivalent identifiers.

The ARAGORN tool relies on a number of external services to perform a standardized ranking of a user-specified question.

  • Strider - Accepts a query and provides knowledge-provider querying, answer generation and ranking.
  • Answer Coalesce - Accepts a query containing Strider answers and returns answers that have been coalesced by property, graph and/or ontology analysis.
  • Node normalization - A Translator SRI service that provides the preferred CURIE and equivalent identifiers for data in the query.
  • ARAGORN Ranker - Accepts a query and provides Omnicorp overlays, score and weight-correctness rankings of coalesced answers.

Demonstration

A live version of the API can be found here.

Source Code

Below you will find references that detail the standards, web services and supporting tools that are part of ARAGORN.

Installation

This version of ARAGORN has all links to subordinate services hard coded. In the future, these links will be defined in the Kubernetes configuration files.

In the meantime some manual edits will be needed in the src/service_aggregator.py file to support your installation.

Subordinate services

The ARAGORN subordinate services will have to be deployed prior to the stand-up of ARAGRON. Please reference the following READMEs for more information on standing those up:

Command line installation

cd <aragorn codebase root>

python<version> -m venv venv
source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Run Script

cd <aragorn root>

./main.sh

DOCKER installation

Or build an image and run it.

cd <aragorn root>

docker build --tag <image_tag> .

Then start the container

docker run --name aragorn -p 8080:4868 aragorn-test

Kubernetes configurations

Kubernetes configurations and helm charts for this project can be found at:

https://github.com/helxplatform/translator-devops/helm/aragorn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.