Commit Graph
382 Commits
Author SHA1 Message Date
Pao Sheng 3a656dcc99 chore(wren-ai-service): move the development purpose API to the development router (#381) 2024-06-05 15:13:04 +08:00
Chih-Yu Yeh e96c928b36 Chore/ai service/minor updates (#377)
* restructure test folder

* fix WREN_ENGINE_ENDPOINT issue

* add async timer

* update

* use logger.info

* use asyncio.sleep

* use asyncio.sleep

* fix timer to async_timer

* add dummy endpoint

* fix time.sleep

* add WORKER

* add timer

* add LOGGING_LEVEL env

* simplify code

* change to async text/document embedder

* simplify code

* update configs and fix timer
2024-06-05 14:40:35 +08:00
qdrddrandwilliam chang d5dff765c5 WrenAI kustomization manifests for k8s (#318)
* v0.0.1 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* Update deployment/README.md

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>

* Update deployment/kustomizations/base/deploy-wren-engine.yaml

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>

* 318

* Update deployment/kustomizations/base/cm.yaml

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>

* Update deployment/kustomizations/README.md

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>

* Update deployment/kustomizations/README.md

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>

* PR v0.0.2 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* PR v0.0.2 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* PR v0.0.2 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* PR v0.0.2 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* PR v0.0.2 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

* PR v0.0.3 WrenAI kustomization manifests for k8s by Damien Berezenko https://medium.com/@qdrddr

---------

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
2024-06-04 22:06:06 +08:00
HoupusandChih-Yu Yeh 7decf5fbc4 Support 3rd party openai api (#365)
* Support for specifying third-party OPENAI proxy services

* Remove unnecessary changes

* Support for specifying third-party OPENAI proxy services

* update get_generator method

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-06-04 21:38:23 +08:00
Pao Sheng 963f3c2423 feature(wren-ai-service): support async SQL dry-run and async Qdrant component (#374)
* feature: install aiohttp

* chore: move all related function into the engine module

* feature: validate the sql via aiohttp to communicate with engine

* feature: support qdrant component to async

* chore: using `==` to specify the version for packages
2024-06-04 21:30:16 +08:00
Andy Yen 2c085d37a3 fix lint after upgrade axios (#375) 2024-06-04 19:18:18 +08:00
imAsterSunandAster Sun 4811b8917a Chore(wren-ai-service): adjust locust test (#371)
* update locust file

* remove timer

---------

Co-authored-by: Aster Sun <aster.sun@cannerdata.com>
2024-06-04 16:55:04 +08:00
dependabot[bot] 2e1bfe571f chore(deps): bump google.golang.org/protobuf in /wren-launcher (#350)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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:55:36 +08:00
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