-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set up kai-demo-evaluator ci Signed-off-by: Alejandro Brugarolas <[email protected]> * aux Signed-off-by: Alejandro Brugarolas <[email protected]> * aux Signed-off-by: Alejandro Brugarolas <[email protected]> * aux Signed-off-by: Alejandro Brugarolas <[email protected]> * add linux workflow and minor changes Signed-off-by: Alejandro Brugarolas <[email protected]> * format Signed-off-by: Alejandro Brugarolas <[email protected]> * remove use of kai-eval for now Signed-off-by: Alejandro Brugarolas <[email protected]> * finish Signed-off-by: Alejandro Brugarolas <[email protected]> * update worflow to run once a day Signed-off-by: Alejandro Brugarolas <[email protected]> * minor improvements Signed-off-by: Alejandro Brugarolas <[email protected]> --------- Signed-off-by: Alejandro Brugarolas <[email protected]>
- Loading branch information
Showing
39 changed files
with
181 additions
and
2,891 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,47 @@ | ||
name: Run demo with kai client and evaluate results | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0,1,2,3,4,5' | ||
jobs: | ||
test-and-evaluate: | ||
name: Run demo and evaluation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "oracle" | ||
java-version: "17" | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Set up venv | ||
run: | | ||
python -m venv venv | ||
. venv/bin/activate | ||
echo PATH=$PATH >> $GITHUB_ENV | ||
- name: Set up dependencies | ||
run: | | ||
cd kai-client-ci | ||
pip install -r requirements.txt | ||
env: | ||
PATH: ${{ env.PATH }} | ||
|
||
- name: Run execution & evaluation test | ||
run: | | ||
python --version | ||
cd kai-client-ci | ||
python ./main.py | ||
env: | ||
PATH: ${{ env.PATH }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | ||
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
KAI_FILES_FOLDER='kai_files' | ||
KAI_FOLDER='kai_files/kai' | ||
KAI_EVAL_FOLDER='kai_files/kai-eval' | ||
COOLSTORE_FOLDER='kai_files/kai/example/coolstore' |
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
1 change: 0 additions & 1 deletion
1
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/0/exception
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/0/llm_result
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/0/response_metadata.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/0/traceback
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/1/exception
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
...as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/1/llm_result
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/1/response_metadata.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/1/traceback
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/2/exception
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/2/llm_result
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/2/response_metadata.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/2/traceback
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../as/quickstarts/bmt/UnManagedComponent.java/single_group/1728500873.9734983/1/3/exception
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.