Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

A Swagger UI/web service interface for the Question Rewrite service

Notifications You must be signed in to change notification settings

ranking-agent/QuestionRewrite

Repository files navigation

ARCHIVED: This repo is outdated and query expansion has been incorporated into the Aragorn repo.

Build Status

Question Augmentation

A web service and Swagger UI for the Question Augmentation service for ARAGORN.

This serivce accepts a translator reasoner standard message containing a question graph and returns a set of similar questions that may yield better answers.

Demonstration

A live version of the API can be found here.

An example notebook demonstrating the API can be found here.

Deployment

Please download and implement the Docker container located in the Docker hub repo: renciorg\qrw.

Kubernetes deployment files are available in the \kubernetes directory.

Local Deployment

This environment expects Python version 3.8.

cd <code base>
pip install -r requirements.txt
python main.py --host 0.0.0.0 --port 6380

Docker

docker run -it -p <port>:6380 QuestionAugmentation

Kubernetes configurations

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

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

Usage

http://"host name or IP":"port"/apidocs

About

A Swagger UI/web service interface for the Question Rewrite service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published