brmson / yodaqa

A Question Answering system built on top of the Apache UIMA framework.
http://ailao.eu/yodaqa
Other
619 stars 205 forks source link

Backend modification enabled #48

Closed k0105 closed 8 years ago

k0105 commented 8 years ago

Hi Petr,

here is the modified YodaQA version from before. Try a command like ./gradlew web -q -Dcz.brmlab.yodaqa.dbpediaurl="http://127.0.0.3037/dbpedia/query" -Dcz.brmlab.yodaqa.freebaseurl="http://127.0.0.1:3030/freebase/query" -Dcz.brmlab.yodaqa.solrurl="http://127.0.0.1:8983/solr" -Dcz.brmlab.yodaqa.label1url="http://127.0.0.1:5000" -Dcz.brmlab.yodaqa.label2url="http://127.0.0.1:5001" to change the backends. You can also modify them in the configuration file in ./conf and check the current setting on http://127.0.0.1:4567/dataUrls. Please let me know if there are any further changes you would like me to apply.

Best wishes from Michigan, Joe

k0105 commented 8 years ago

I just added the Dockerfiles and they were added to my pre-existing pull request. Feel free to pick them out in case you are only interested in them, but not the dynamic backend part (even though that is essential for Docker links).

pasky commented 8 years ago

Awesome, thanks! I'll clean it up just a little, but great extra flexibility.