Commit Graph
279 Commits
Author SHA1 Message Date
william chang(張仲威) d233ca0569 release 0.3.2-rc.2 (#245) 0.3.2-rc.2 2024-05-14 09:06:05 +08:00
wren-ai[bot] a77c409f8c Upgrade AI Service version to 0.3.4 2024-05-14 00:53:19 +00:00
Pao ShengandChihYu Yeh c425865e75 feat(wren-ai-service): MDL validator to check the items exist (#243)
* feat(wren-ai-service): MDL validator to check the items exist

* fix failed test

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-05-14 08:51:46 +08:00
Chih-Yu Yehandwilliam chang d75f6d1ed7 allow users to change openai model in launcher (#244)
* ..

* add logs for init_providers

* fix ci

* add openai model url instructions

* fix empty generation model if OPENAI_GENERATION_MODEL is not provided

* Update wren-launcher/utils/docker.go

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

---------

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
2024-05-14 08:49:15 +08:00
Chih-Yu Yeh 811e56d63e fix indexing (#242) 2024-05-13 19:13:58 +08:00
william chang(張仲威) 8e938eb7fc release 0.3.2-rc.1 (#241) 0.3.2-rc.1 2024-05-13 18:16:22 +08:00
wren-ai[bot] b5bafcf364 Upgrade AI Service version to 0.3.3 2024-05-13 08:39:42 +00:00
Chih-Yu Yeh 80785e4acc Feature/ai service/unify providers interface (#235)
* WIP: add providers

* make tests pass

* fix conflict

* refine type

* refactor semantics descriptions pipeline and refine globals.py

* remove openai from indexing pipeline

* update env

* remove unused code

* change default collection name

* add comments

* remove unused code

* update

* update
2024-05-13 16:38:00 +08:00
andreashimin 580cb976a6 feat(wren-ui): integrate preview to model metadata drawer 2024-05-13 16:34:20 +08:00
60f45ce999 feat(wren-ui): Support edit view metadata mode (#224)
* feat(wren-ui): add view description and columns in metadata drawer

* feat(wren-ui): add edit view metadata

* feat(wren-ui/api): support update view metadata related APIs

* feat(wren-ui): connect update view metadata API

* rename view when editing metadata

* feat(wren-ui): add validated rules to edit view metadata display name

* rm comma

---------

Co-authored-by: onlyjackfrost <onlyjackfrost@gmail.com>
Co-authored-by: andreashimin <andreashimin@gmail.com>
2024-05-13 16:14:29 +08:00
Chih-Yu Yeh 25db6fa509 fix indexing (#240) 2024-05-13 16:02:35 +08:00
Chih-Yu Yeh 516822669b Chore/ai service/fix indexing (#239)
* fix view indexing

* update
2024-05-13 15:46:14 +08:00
Shimin 2fadf7855d chore(wren-ui): Replace view, calculated field & relationship name to alias (#230)
* chore(wren-ui): replace view metadata referenceName to alias

* chore(wren-ui): replace relationship modal referenceName to displayName

* chore(wren-ui): replace relationship table referenceName to displayName

* feat(wren-ui): provide relationship model display name & column display name

* chore(wren-ui): replace relationship metadata fromField & toField's referenceName to displayName

* chore(wren-ui): replace edit metadata modal relationship referenceName to displayName

* chore(wren-ui): replace calculated field referenceName to displayName

* chore(wren-ui): replace metadata drawer title to displayName

* chore(wren-ui): adjust metadata table description width

* chore(wren-ui): show full relationship from, to information in nested table
2024-05-13 15:30:44 +08:00
Shimin 4d1859465f feat(wren-ui): Backend API provide error message from wren engine (#222)
* feat(wren-ui): provide engine columns validated error to client

* style(wren-ui): adjust calculated field submit payload structure

* chore(wren-ui): extract error messages collapse to common component

* feat(wren-ui): display backend error message when creating or updating calculated field
2024-05-13 15:29:29 +08:00
Chih-Yu Yeh 02813d646f fix indexing (#238) 2024-05-13 14:39:53 +08:00
Chih-Yu Yeh 8b67985950 add logger.error messages (#237)
* add logger.error messages

* fix
2024-05-13 13:15:49 +08:00
2a2eea1af5 feature(wren-ai-service): mdl metric integration (#227)
* update

* update

* fix PaymentsOrders relationship

* update indexing

* update test mdl

* update mdl

* update system prompt

* fix conflict

* fix

* refactor indexing

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
Co-authored-by: Aster Sun <aster.sun@cannerdata.com>
2024-05-10 21:56:13 +08:00
onlyjackfrost c138731661 Adjust error message 2024-05-10 18:36:26 +08:00
Andy Yen f700279319 Implement Preview model data (#229) 2024-05-10 18:28:28 +08:00
onlyjackfrost c47cf2d26e modify view displayName validation logic, and transform referenceName with input displayName 2024-05-10 18:24:38 +08:00
onlyjackfrost 860aa30ec0 modify calculated field displayName validation logic, and transform referenceName with input displayName 2024-05-10 18:24:38 +08:00
Shimin 49187068d3 chore(wren-ui): remove share btn first until pg ready for sharing (#233) 2024-05-10 18:23:47 +08:00
Andy Yen 5b0c3f672b Chore(wren-ui): wait ai service ready before open browser (#220)
* chore: wait ai service ready before open browser

* align console

* Refactor launch command and remove stdout

* find available port for ai service
2024-05-10 18:13:08 +08:00
Freda Lai f5cea60792 fix(wren-ui): handle network error issues for asking a question (#213)
* fix(wren-ui/api): handle the OTHERS error code

* chore(wren-ui): Show default message for network error
2024-05-10 18:02:53 +08:00
Freda Lai b3a88513bc feat(wren-ui): allow column case insensitive search for column selector (#214) 2024-05-10 16:30:14 +08:00
Shimin 6166e42702 chore(wren-ui): downgrade columns limit to 10 in diagram (#219) 2024-05-10 16:29:40 +08:00
Howard Chi 5df71fd8c2 Update README.md (#231) 2024-05-10 15:55:53 +08:00
Pao Sheng a2fb0c0e50 feature(wren-ai-service): Indexing saved view into document store (#218)
* feat: indexing view QA into the document store

* chore: add a description

* fix: make sure it works well in test cases

* feat: modify the test cases to make sure the function works well

* feat: add view store in global

* fix: a lacking parameter after the conflict

* feat: extract function to a component

* feat: extract view and ddl function to components

* chore: move test cases to another folder

* chore: remove useless parameters

* chore: remove useless pass keyword

* chore: rename the document store to ddl store

* chore: split the view indexer into two components
2024-05-09 16:57:49 +08:00
Howard Chi 2649343d7f Update README.md (#226) 2024-05-09 14:39:27 +08:00
william chang(張仲威) 6248c3e97e release 0.3.1 (#225) 0.3.1 2024-05-09 12:34:17 +08:00
chilijung dbfa455a0a rename 0.3.0 2024-05-08 18:42:12 +08:00
chilijung b71a44817a Update readme with preview image 2024-05-08 18:40:14 +08:00
Howard Chi 95c45bdef1 Merge branch 'Canner:main' into main 2024-05-08 18:39:31 +08:00
Howard Chi ad81fb2d4a Update README.md (#221) 2024-05-08 18:03:01 +08:00
Howard Chi dd467d9ee1 Update README.md 2024-05-08 17:59:30 +08:00
william chang(張仲威) 7e62f31ade release 0.3.0-rc.2 (#217) 0.3.0-rc.2 2024-05-08 16:44:52 +08:00
Shimin c00ec4c939 fix(wren-ui): Align column types with backend connectors provided types (#216)
* fix(wren-ui): align column types with connectors provided types, add UUID icon & Binary icon

* fix(wren-ui): update calculated field functions types checking
2024-05-08 15:21:06 +08:00
william chang(張仲威) db42d075aa fix(wren-ui): rename ColumnTypes to WrenEngineColumnType 2024-05-08 15:00:19 +08:00
william chang(張仲威) 363c0a798a fix(wren-ui): column types 2024-05-08 15:00:19 +08:00
william chang(張仲威) 67abccb7ca fix(wren-ui): in pg connector, we return column types in enum 2024-05-08 15:00:19 +08:00
wren-ai[bot] 366474a642 Upgrade AI Service version to 0.3.2 2024-05-08 03:21:33 +00:00
Chih-Yu Yeh 2ace557880 api refactor and add healthcheck api (#211)
* refactor ask and prepare_semantics api

* refactor ask details api

* add simple healthcheck api
2024-05-08 11:20:31 +08:00
wren-ai[bot] aab59926d3 Upgrade AI Service version to 0.3.1 2024-05-07 11:57:32 +00:00
Chih-Yu Yeh 04be4f6bf7 add logger using info level and fix indexing status (#210) 2024-05-07 19:56:55 +08:00
Andy Yen 0a59b6072b fix migration file order to prevent relation data lost (#208) 2024-05-07 16:00:07 +08:00
Andy Yen 7987522db1 add demo dataset table descriptions (#207) 2024-05-07 15:30:15 +08:00
Shimin b832ae81fc fix(wren-ui): Fix calculated field modal title when edit mode (#206) 2024-05-07 15:15:25 +08:00
wren-ai[bot] 0f14499c39 Upgrade AI Service version to 0.3.0 2024-05-07 06:26:49 +00:00
Shimin 7b4a620f58 fix(wren-ui): Fix svg embed definitions styles that affected user operation (#205) 2024-05-07 14:10:44 +08:00
Freda Lai b837119873 fix(wren-ui): redirect to the home page if there is no relationship data needs to be saved 2024-05-07 14:05:52 +08:00