jmorwick / sai-weblab

Web application for experimenting with SAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAI Weblab

A bare-bones spring web-app for experimenting with the SAI framework.

Weblab's interface

Weblab provides a web interface for loading SAI-compatible databases with graphs, collecting statistics on those databases, running retrieval and other experiments, and viewing statistics from logs of those experiments. Weblab monitors task progress and allows some limited intervention. Weblab code shouldn't require modification to run your own custom experiments, but feel free to do so if you wish!

Configuring and Running Weblab

Weblab uses a Spring configuration to manage plugins and experiment structure. SAI plugins are declared in a Spring XML file named weblab-components.xml which is loaded from the classpath. Edit the file to incorporate the plugins and experiment tasks you wish to work with.

Ex. Using the default configuration with weblab-components.xml and other necessary files in the working directory:

java -jar sai-weblab-1.0.jar

If you want to include additional 3rd party jars, update the loader.path property from the command line:

java -Dloader.path=lib1.jar,lib2.jar -jar sai-weblab-1.0.jar

You can build this jar from scratch using maven:

mvn package spring-boot:repackage

About

Web application for experimenting with SAI


Languages

Language:Java 69.0%Language:FreeMarker 28.0%Language:JavaScript 1.2%Language:CSS 1.0%Language:Shell 0.8%