Skip to content

gnawhleinad/evaluate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Node.js application for remote relevance evaluation via QnA.

Develop

Prerequisites

Start the virtual machine with Docker by running:

$ vagrant up

To build the site, run:

$ vagrant ssh
[vagrant@evaluate ~]$ cd /vagrant
[vagrant@evaluate ~]$ docker build -t evaluate/relevance .
[vagrant@evaluate ~]$ docker run -d -p 3000:3000 evaluate/relevance

Example

Relevance evaluation is available:

$ curl 'http://127.0.0.1:3000/api/relevance/evaluate' \
	-H 'Content-Type: application/json' \
	--data-binary '{"relevance":"name of operating system"}'
{"answers":["Linux CentOS 7.1.1503"],"errors":[],"time":123,"type":"string"}

About

A Node.js application for remote relevance evaluation via QnA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published