15 Commits
Author SHA1 Message Date
Andy Yen dca3f56b71 prevent ai service from running ui workflow (#110) 2024-04-12 14:48:43 +08:00
Andy Yen e7a69f0042 prevent duplicated workflow triggered (#109) 2024-04-12 14:05:08 +08:00
william chang(張仲威) b76402d7d6 Update issue templates (#97)
Update issue templates
2024-04-10 13:14:37 +08:00
Andy Yen 7e69acbd21 [DRAFT] Chore(Wren-ui): add github action script for CI (#72)
GitHub action to release image
2024-04-09 20:49:09 +08:00
Pao Sheng 0d2dcba3c6 feature(ai-service): push on protected branch that required PR before merging via GitHub APP as the bot (#88)
* upgrade the project version via GitHub APP

* demo github app as the committer

* demo github app as the committer v0.2.0-rc.1

* demo github app as the committer 0.2.0-rc.2

* demo github app as the committer 0.2.0-rc.3

* try to checkout repo with GitHub APP installation token

* failed case

* remove testing code
2024-04-09 19:27:41 +08:00
Pao Sheng ff7b54e5ba feature(ai-service): fix a wrong input name in the release image workflow (#70) 2024-04-03 11:02:23 +08:00
Pao ShengandChih-Yu Yeh 342f87647d feature(ai-service): automatically create docker image when pr merged (#59)
* support the workflow to build nightly image

* remove the testing branch

* remove the deprecated workflow

* release nightly image workflow

* remove the testing branch

* rename the workflows

* manual release image workflow

* remove the testing branch

* release stable image

* remove the testing code

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-04-02 23:33:12 +08:00
Pao Sheng 93da460149 feature(ai-service): automatically re-run the CI after pushing the new commits (#61)
* Path filter detect the files to trigger CI when pushing

* demo

* demo not tirgger

* remove demo files
2024-04-02 14:22:36 +08:00
Chih-Yu YehandPao Sheng 32cd3df311 Feature/ai service/fix failed sql queries + add error code (#50)
* resolve conflict

* allow visualization using one file

* remove default argparse option value

* resolve conflict

* resolve conflict

* resolve conflict

* update setup instructions

* resolve conflict

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* add anthropic model pricing

* allow change model for anthropic

* resolve conflicts

* resolve conflicts

* remove invalid sql generation results

* WIP: add sql correction

* add sql correction pipeline

* update ai service ci yaml

* update eval

* add instructions for running tests

* add comments for cte_name validation for last step

* use wren-engine api to validate sql instead of wren-engine psql

* simplify testing instructions

* update testing step

* create missing dir

* fix commands

* add WREN_ENGINE_ENDPOINT

* update WREN_ENGINE_ENDPOINT

* add container:ubuntu

* undo

* changed to localhost

* adjust docker network

* test ci

* test ci

* update

* update

* update

* revert

* update

* revert

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix bug

* update

* remove contest

* Feature/ai service/add error code (#40)

* resolve conflict

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* refine

* remove unused files

* resolve conflicts

* add error code and post processor to ask details

* add volume for qdrant and WREN_ENGINE_ENDPOINT for wren-ai-service

* add status check for ask service and fix tests

* Update wren-ai-service/tests/services/test_ask_details.py

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

* Update wren-ai-service/tests/services/test_ask_details.py

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

---------

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

---------

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>
2024-03-28 15:11:30 +08:00
Pao Sheng 1ceff7e24c Revert "Feature(wren-ai-service): fix failed sql queries (#39)" (#49)
This reverts commit 87c21e486a.
2024-03-28 14:21:31 +08:00
Chih-Yu Yeh 87c21e486a Feature(wren-ai-service): fix failed sql queries (#39)
* resolve conflict

* allow visualization using one file

* remove default argparse option value

* resolve conflict

* resolve conflict

* resolve conflict

* update setup instructions

* resolve conflict

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* add anthropic model pricing

* allow change model for anthropic

* resolve conflicts

* resolve conflicts

* remove invalid sql generation results

* WIP: add sql correction

* add sql correction pipeline

* update ai service ci yaml

* update eval

* add instructions for running tests

* add comments for cte_name validation for last step

* use wren-engine api to validate sql instead of wren-engine psql

* simplify testing instructions

* update testing step

* create missing dir

* fix commands

* add WREN_ENGINE_ENDPOINT

* update WREN_ENGINE_ENDPOINT

* add container:ubuntu

* undo

* changed to localhost

* adjust docker network

* test ci

* test ci

* update

* update

* update

* revert

* update

* revert

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix bug

* update

* remove contest
2024-03-28 11:54:53 +08:00
Pao Sheng e456677fa2 Chore: Add a optional input to determine whether putting the latest tag on docker image (#30) 2024-03-21 18:15:11 +08:00
Pao Sheng 10f0d007c1 Feature: implement a workflow for building image and deploying to GitHub (#23)
* chore(wren-ai-service): modify the git ignore pattern to ignore the outpus and spider folder

* chore(wren-ai-service): classify the workflows by diff folder

* chore(wren-ai-service): testing commit

* chore(wren-ai-service): move the the correct folder

* feature(wren-ai-service): impl building image CI

* feature(wren-ai-service): modify the infor to login the registry

* fix(wren-ai-service): avoid the src folder not found

* feature(wren-ai-service): add the latest tag
2024-03-20 18:39:04 +08:00
Pao Sheng 72f25bc2c4 Enhance the CI with label (#10)
* Running a workflow on labeling

* Add the function to cancel the progressing CI

* Separate the group by each labels

* Add comments

* Runs the CI when merged into main branch
2024-03-14 11:59:47 +08:00
Pao Sheng 98e6d920d1 Landing AI service here (#1)
* migrate the ai service to the new repo

* modify the CI execution path

* update README for wren ai service
2024-03-13 16:56:48 +08:00