Skip to content

Commit

Permalink
Add coypu-KGQA
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Westphal committed Apr 24, 2024
1 parent 51cb925 commit f47ff29
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions docs/coypu-KGQA.md
Original file line number Diff line number Diff line change
@@ -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
```
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f47ff29

Please sign in to comment.