forked from WDAqua/Qanary-question-answering-components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master into implement-kgqan-component
- Loading branch information
Showing
32 changed files
with
287 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Qanary component test pipeline | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
test-java: | ||
runs-on: ubuntu-latest | ||
env: | ||
BABELFY_API_KEY : someapikey | ||
CHATGPT_API_KEY : someapikey | ||
DANDELION_API_KEY : someapikey | ||
MEANINGCLOUD_API_KEY : someapikey | ||
TAGME_API_KEY : someapikey | ||
TEXTRAZOR_API_KEY : someapikey | ||
OPENAI_API_KEY : someapikey | ||
BABELFY_API_LIVE_TEST_ACTIVE : false | ||
PLATYPUS_API_LIVE_TEST_ACTIVE : false | ||
TEXTRAZOR_API_LIVE_TEST_ACTIVE : false | ||
CHATGPT_API_LIVE_TEST_ACTIVE : false | ||
DANDELION_API_LIVE_TEST_ACTIVE : false | ||
MEANINGCLOUD_API_LIVE_TEST_ACTIVE : false | ||
AGDISTIS_API_LIVE_TEST_ACTIVE : false | ||
OPENAI_API_LIVE_TEST_ACTIVE : false | ||
TAGME_API_LIVE_TEST_ACTIVE : false | ||
steps: | ||
- name: Configure java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'corretto' | ||
java-version: '17' | ||
- uses: actions/checkout@v4 | ||
- name: Test Java components | ||
run: bash -c ./service_config/test_java_components.sh | ||
test-python: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure Python | ||
uses: actions/setup-python@v5 | ||
id: setup_python | ||
with: | ||
python-version: '3.12' | ||
- uses: actions/checkout@v4 | ||
- name: Cache virtual environments | ||
uses: actions/cache@v4 | ||
with: | ||
key: environments-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('**/requirements.txt') }} | ||
path: environments | ||
- name: Test Python components | ||
run: bash -c ./service_config/test_python_components.sh |
Submodule Qanary-component-QB-Python-KGQAnWrapper
updated
23 files
+4 −0 | .dockerignore | |
+17 −0 | .github/workflows/autodeployment.yml | |
+5 −12 | .github/workflows/build-component.yml | |
+69 −0 | .github/workflows/deploy-component.yml | |
+3 −3 | .github/workflows/test-component.yml | |
+22 −4 | Dockerfile | |
+1 −1 | KGQAn | |
+190 −0 | README.adoc | |
+0 −110 | README.md | |
+38 −9 | boot.sh | |
+19 −14 | component/__init__.py | |
+44 −62 | component/qb_kgqan.py | |
+6 −35 | docker-compose.yml | |
+7 −7 | pytest.ini | |
+6 −6 | requirements.txt | |
+6 −5 | run.py | |
+53 −11 | service_config/build_python_image.sh | |
+7 −0 | service_config/files/qb-kgqanwrapper-dbpedia | |
+7 −0 | service_config/files/qb-kgqanwrapper-wikidata | |
+18 −0 | service_config/prepare_deployment.sh | |
+4 −155 | service_config/service_config.json | |
+80 −0 | start_kgqan_services.sh | |
+6 −6 | tests/test_qb_kgqan.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...qanary/component/dbpediaspotlight/ned/exceptions/DBpediaSpotlightServiceNotAvailable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.