Skip to content
Prateek Goel edited this page May 10, 2021 · 39 revisions

Back to Home

Description

The explanatory autonomous relay agent (xARA) utilizes a case-based reasoning (CBR) approach to execute ARS queries by obtaining results from multiple knowledge providers (KPs) and relies on natural language understanding models to seek explanations in the biomedical literature to rank KP’s results.
The xARA executes five steps to answer queries: Query analysis, KP selection, Ranking results, Grouping results, and Response.

The current Explanatory Agent Workflow consists of:

Team Contact:

User Guide

To interact with the web service, you may send queries directly or via the SmartAPI Swagger interface. Please refer to our page on the SmartAPI Registry for the latest URL. The Swagger interface contains a sample query you may send to review our response.

Knowledge Providers Accessed

Issue Support

To declare an issue:

Source Code

Deployment Pipeline

The Explanatory Agent web service has been tested on Ubuntu 20.04. Any other Ubuntu versions or operating systems are unsupported. The following software is required to be installed before proceeding:

Once the above software is installed on your system, perform the following steps:

  • Configure the PostgreSQL database:
    • Create a database named xARA.
      • Ensure a user is present with read and write permissions. By default, a user named postgres will be created when the software is installed.
    • Run run.sh to start the Docker container for the xARA web service. If you have created a non-default user in step 1b, you must set environment variables before running this step. Refer to the Dockerfile in the base directory for environment variable names.
    • Run the ETL process to populate the PostgreSQL database:
      • Open a command line terminal at xARA_ETL/
      • Configure a Python Pip environment with the command pipenv install –deploy
        • Run src/modMain.py to populate the xARA database.
    • Connect to https://localhost and from within the Swagger UI run the example for the query/ endpoint.
    • Once you receive a 200 response from the example query your xARA web service is running and ready to accept queries.

External Documentation

Clone this wiki locally