From f47ff298c5b7a9a4529ed595d250d117e7368c00 Mon Sep 17 00:00:00 2001 From: Patrick Westphal Date: Wed, 24 Apr 2024 13:12:08 +0200 Subject: [PATCH] Add coypu-KGQA --- docs/coypu-KGQA.md | 25 +++++++++++++++++++++++++ docs/index.md | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 docs/coypu-KGQA.md diff --git a/docs/coypu-KGQA.md b/docs/coypu-KGQA.md new file mode 100644 index 0000000..c6561b5 --- /dev/null +++ b/docs/coypu-KGQA.md @@ -0,0 +1,25 @@ +# coypu-KGQA +Coypu KG Question Answering module for deployment. + +# Requirement + +- python >= 3.9 + +Use your favourite virtual environment management tool and + +``` +pip install -r requirements.txt +``` + +# Usage + +## Docker +Alternatively, you can deploy via docker, which will be using port 12000. +``` +docker-compose up +``` + +and query via post request, +``` +curl -i -H "Content-Type: application/json" -X POST -d '{"text": "What is the risk level of Germany?", "kb": "coypukg"}' http://127.0.0.1:12000 +``` diff --git a/docs/index.md b/docs/index.md index 31ac2c9..4a8a6a4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,6 +6,6 @@ This page collects documentation for software, AI and dataset resources develope HITeC/SEMS developed several AI solutions, in particular for Knowledge Extraction and Question Answering. -- [coypu-SHACL-Generator](coypu-SHACL-Generator.md) +- [coypu-SHACL-Generator](coypu-SHACL-Generator) - [coypu-temporal-extraction-service](coypu-temporal-extraction-service) - +- [coypu-KGQA](coypu-KGQA)