Commit Graph
374 Commits
Author SHA1 Message Date
dependabot[bot] df409feec9 chore(deps): bump github.com/docker/docker in /wren-launcher (#352)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.0.0+incompatible to 26.0.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.0.0...v26.0.2)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 15:14:37 +08:00
dependabot[bot] 33da6206a1 chore(deps): bump golang.org/x/net in /wren-launcher (#353)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 14:56:09 +08:00
dependabot[bot] 8a1b98dcb4 chore(deps): bump undici from 5.28.3 to 5.28.4 in /wren-ui (#349)
Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 14:00:38 +08:00
dependabot[bot] d903ef62fb chore(deps): bump axios from 0.27.2 to 0.28.0 in /wren-ui (#351)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v0.28.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 13:56:57 +08:00
dependabot[bot] 90a64dce56 chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /wren-ui (#348)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 13:46:57 +08:00
Pao Sheng 0b05aaa474 feature(wren-ai-service): refactor pipelines of retrieval and historical question (#367)
* chore: update the poetry lock file

* feat: refactor the retrieval pipeline

* feat: add await to start the coroutine

* feat: modify the test case

* feat: refactor the historical question for view pipeline

* fix: correct the test cases

* chore: comment out the generate description test case
2024-06-04 11:17:25 +08:00
Chih-Yu YehandPao-Sheng Wang 047b362aaa Feature/ai service/refactor pipeline using hamilton (#363)
* feat: refactor the indexing pipline with Hamilton

* chore: shorten the pipe name and correct the test cases

* fix: correct the test cases

* make hamilton pipeline cleaner

* simplify pipeline file name

* remove redundant init_post_processor function and refine indexing and followup_generation

* refine ask generation pipeline

* refine ask sql_correction pipeline

* add TODO comment

* refine ask_details generation pipeline

* update tests

---------

Co-authored-by: Pao-Sheng Wang <paooap.oappao@gmail.com>
2024-06-04 11:17:25 +08:00
Pao Sheng 830ebe40b7 feature(wren-ai-service): refactor the query understanding pipe with async (#316)
* feat: add an experiment query understanding pipeline

* exper: add sync pipe for comparison

* exper: using async generator instead

* chore: remove the testing setting and fix the hamilton version

* chore: removing the experiment pipeline

* feat: impl openai async generator

* feat: refactor the pipeline

* feat: change the driver output type

* feat: modify the behavior for ask service

* chore: remove the testing code

* fix: test cases

* fix: ignore timer decorator and fix a key error
2024-06-04 11:17:25 +08:00
2ffa1ebfb6 Feature(wren-ai-service): Ask pipeline load test (#335)
* add ask locust test

* update case

* add logfile setting

* update locustfile

* add sucessful query counter

* adjust mdl path

* update README

* update README

* update README

* add missing env: OPENAI_GENERATION_MODEL

* change locust output folder and simple refactor

* update readme

* update readme

* move files to tests/locust folder

* update test config & readme

* add ask details case

* update readme

---------

Co-authored-by: Aster Sun <aster.sun@cannerdata.com>
Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-06-04 10:22:29 +08:00
Chih-Yu Yeh 62d58de53a update sqlparse version (#362)
* update sqlparse version

* add poetry.lock
2024-06-03 14:27:51 +08:00
Chih-Yu Yeh a00c5f3abf update readme (#361)
* update

* update license
2024-06-03 14:20:11 +08:00
william chang(張仲威) c209f7ed55 Create SECURITY.md (#347) 2024-05-31 18:18:57 +08:00
Freda Lai 6b6698a948 chore(wren-ui): update vote link (#344) 2024-05-31 15:50:04 +08:00
Andy Yen 294bb9d3dc present view displayName in UI (#342) 2024-05-31 15:18:24 +08:00
Howard Chi c6c7561e04 Update README.md (#343) 2024-05-31 14:50:36 +08:00
Chih-Yu Yeh 66d1f98a9d use dry-run instead of preview (#340) 2024-05-30 18:48:16 +08:00
Andy Yen ae81e89773 release 0.3.6 (#338) 0.3.6 2024-05-30 13:18:19 +08:00
Andy Yen eb2aa80ab9 Fix(wren-ui): use postgres as database (#328)
* adjust column types and type mapping for using pg as database

* drop foreign key constraint before altering column type to prevent data loss

* set default db as sqlite & update README

* add comments
2024-05-29 17:46:46 +08:00
william chang(張仲威) 2f7cf808de release 0.3.5 (#334) 0.3.5 2024-05-29 16:46:38 +08:00
william chang(張仲威) a60d1be585 release 0.3.5-rc.2 (#333) 0.3.5-rc.2 2024-05-29 15:36:57 +08:00
wren-ai[bot] 868c3f9b14 Upgrade AI Service version to 0.4.0 2024-05-29 07:25:31 +00:00
Chih-Yu Yeh 0c3f2bce59 fix python version to 3.12.0 (#332) 2024-05-29 14:59:39 +08:00
wren-ai[bot] 2bbd97a113 Upgrade AI Service version to 0.3.9 2024-05-29 06:30:41 +00:00
Chih-Yu Yeh f9fe348db0 refine ai pipelines (#310)
* update followup prompt

* use deployed verion's mdl

* update demo data version

* upload original modified mdl
2024-05-29 14:29:16 +08:00
william chang(張仲威) 5b9fde34f3 release 0.3.5-rc.1 (#329) 0.3.5-rc.1 2024-05-28 18:27:58 +08:00
wren-ai[bot] 5ce497d3fb Upgrade AI Service version to 0.3.8 2024-05-28 08:38:51 +00:00
Shimin 2dd2698167 feat(wren-ui): Offer view result for similar questions (#307)
* feat(wren-ui): add saved view mark in ask candidate result

* feat(wren-ui): read viewId & openMetadata query params for opening view metadata drawer in modeling page

* feat(wren-ui): replace save as view button if that thread response has saved view before

* feat(wren-ui): integrating API to show saved view as candidate & thread saved view tips
2024-05-28 14:43:38 +08:00
william chang(張仲威) fd8a332066 fix(wren-ui): refactor thread response repository a bit 2024-05-28 14:38:27 +08:00
william chang(張仲威) d3b81cd60a fix(wren-ui): remove unnecessary comments & import 2024-05-28 14:38:27 +08:00
william chang(張仲威) ed39dd643c fix(wren-ui): fix tests. Remove nil values in view properties when building mdl 2024-05-28 14:38:27 +08:00
william chang(張仲威) 4ceb45715a feat(wren-ui): able to createThread & createThreadResponse with viewId 2024-05-28 14:38:27 +08:00
william chang(張仲威) dcbe43ecfb feat(wren-ui): returning view & type in ask result API 2024-05-28 14:38:27 +08:00
william chang(張仲威) 3f86334a60 feature(wren-ui): change to use viewId in properties of view 2024-05-28 14:38:27 +08:00
william chang(張仲威) c40518c09f feature(wren-ui): save response related fields in view properties 2024-05-28 14:38:27 +08:00
william chang(張仲威) d4477ddc6d fix(wren-ui): avoid creating a view with response containing an error 2024-05-28 14:38:27 +08:00
c3d347b3f2 Feature(wren-ai-service): Load Test by Locust (#325)
* add locust file

* update locust run script

* fix test

* rename script

* rename test reports

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
Co-authored-by: Aster Sun <aster.sun@cannerdata.com>
2024-05-28 14:13:57 +08:00
Howard Chi 9ea5cbd587 Update README.md (#321) 2024-05-26 16:44:14 +08:00
Howard Chi 2b9e30f89d Update README.md 2024-05-26 11:28:19 +08:00
Howard Chi 811b0abe3f Update README.md (#320) 2024-05-25 15:51:49 +08:00
Chih-Yu Yeh c971b6555e make pipelines cleaner (#309)
* clean pipelines

* use logger.info instead of print
2024-05-24 15:18:31 +08:00
Howard Chi ea3e9d8acd Update README.md (#315) 2024-05-24 13:42:20 +08:00
Shimin cfc83b464e fix(wren-ui): setup rejectUnauthorized for ssl connection & add sslmode to jdbc url (#302) 2024-05-22 18:41:59 +08:00
Chih-Yu Yeh e724bd8ad0 add WREN_ENGINE_VERSION (#303) 2024-05-22 18:28:09 +08:00
imAsterSunandAster Sun d7003fcad6 Feature(wren-ai-service): pipeline timer (#298)
* add timer decorator

* add timer

* adjust timer

* adjust timer

* add readme instruction

---------

Co-authored-by: Aster Sun <aster.sun@cannerdata.com>
2024-05-22 17:34:11 +08:00
Pao ShengandChih-Yu Yeh 63e22b87fa feature(wren-ai-service): Add view ID into the indexing process and the result candidates (#301)
* chore: add view id into sample dataset

* feat: add view id into indexing process

* feat: test cases to validate view converter

* feat: modify the ask API response

* chore: ignore python versoin hidden file for pyenv

* chore: update README to recommend install python via pyenv

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-05-22 16:15:19 +08:00
Shimin 9c7bc12516 chore(wren-ui): Enhance data source connection error & instructions (#292)
* chore(wren-ui): throw connection error from data source to graphQL error

* chore(wren-ui): refine data source connection error alert

* chore(wren-ui): provide connection refused error in PG & show instructions to user

* style(wren-ui): adjust error code condition
2024-05-22 14:57:27 +08:00
Andy Yen f53d142f04 fix: Improve batch processing for creating model columns (#295) 2024-05-22 14:50:02 +08:00
Andy Yen 7c7be78749 chore: Update README.md and add migration instructions (#294) 2024-05-22 14:44:12 +08:00
Chih-Yu Yeh abc1a0c419 refine (#299) 2024-05-22 11:25:36 +08:00
Shimin 916080a238 feat(wren-ui): Infrastructure of Playwright end-to-end testing (#276)
* feat(wren-ui): add playwright package

* feat(wren-ui): e2e basic configurations & tests

* feat(wren-ui): add sample dataset test to e2e

* feat(wren-ui): add data source test to e2e

* doc(wren-ui): add e2e test README

* fix(wren-ui): fix jest to ignore e2e folder

* feat(wren-ui): refine config & e2e test structure, separate common tests & focus testing on data source
2024-05-22 10:48:29 +08:00