Commit Graph
313 Commits
Author SHA1 Message Date
william chang(張仲威) 638de2c5a5 Update LICENSE (#281) 2024-05-21 12:22:29 +08:00
william chang(張仲威) 834a953255 feature(wren-launcher): enable dynamic-fields config for Wren Engine (#280) 2024-05-21 12:11:14 +08:00
Howard Chi e7e8d0e4f5 Update README.md (#279) 2024-05-21 10:08:28 +08:00
Chih-Yu Yeh 46de3b606d fix (#278) 2024-05-21 09:32:48 +08:00
Chih-Yu Yeh 1fac9b76f3 chore/small refinements to launcher (#269)
* fix missing envs to posthog

* fix .env.example

* update add openai key instructions

* add missing env vars
2024-05-20 16:17:02 +08:00
Freda Lai 59e87b766c feat(wren-ui): add loading props for preview data button (#275) 2024-05-20 16:14:12 +08:00
Freda Lai 92594af769 feat(wren-ui): Update relationship rule (#268)
* feat(wren-ui): update relationship modal UI

* feat(wren-ui/api): remove check for one relationship between two models

* feat(wren-ui): relationship validator

* feat(wren-ui): add showSearch prop for relationship modal

* feat(wren-ui/api): update findExistedRelationBetweenModels function

* fixup! feat(wren-ui): relationship validator
2024-05-20 15:59:04 +08:00
Freda Lai 26dd9eb2f0 fix(wren-ui/api): fix update model metadata (#274) 2024-05-20 15:57:32 +08:00
Howard Chi 9c3a353348 update pic and content (#273) 2024-05-20 07:43:49 +08:00
Howard Chi 6c1819294c Update README.md (#272) 2024-05-20 07:36:45 +08:00
Ikko Eltociear Ashimine 3911557023 chore: update indexing_pipeline.py (#271) 2024-05-20 00:33:44 +08:00
Howard Chi 0265e8a1c8 Update LICENSE (#270) 2024-05-19 16:14:19 +08:00
Chih-Yu Yeh 8586f45aa4 Chore/ai service/minor update (#265)
* use orjson instead of json

* fix

* fix

* update deps

* update

* add orjson
2024-05-17 22:37:55 +08:00
Pao ShengandChih-Yu Yeh bd60e1c3a6 feature(wren-ai-service): Automatically loading the providers (#267)
* chore: rename the package

* feat: auto loading the providers

* feat: using provider loader instead

* feat: move the verify function into the OpenAI provider

* feat: add test cases for providers loader

* fix: wrong provider name

* fix: add environment variable for CI

* chore: remove redundent testing code

* chore: update the function doc

* chore: pass the api key into openai client

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-05-17 17:55:12 +08:00
Shimin 7b07f2015c chore(wren-ui): Show AI exception errors to client when deploying manifest (#264)
* chore(wren-ui): show AI exception errors to client when deploying manifest

* chore(wren-ui): wrap the AI error response with new Error
2024-05-17 17:36:07 +08:00
Shimin 9d9744f1d9 chore(wren-ui): Remove unused test data (#266) 2024-05-17 16:30:30 +08:00
Freda Lai 93f1965e5a fix(wren-ui): fix auto-generated relationships (#263)
* fix(wren-ui/api): fix generate relationship name

* fix(wren-ui): fix rowKey for relationship table

* fixup! fix(wren-ui/api): fix generate relationship name

* chore(wren-ui/api): improve generate relationship name
2024-05-17 16:29:48 +08:00
Shimin 1900d4db88 feat(wren-ui): Convert column original name by following the reference name rule (#258)
* feat(wren-ui): convert original column name by following the reference name rule

* fix(wren-ui): rename column name conversion function & prefix
2024-05-17 16:28:56 +08:00
Pao Sheng 3125fe96b6 feature(wren-ai-service): support to return a saved view as a Candidate (#257) 2024-05-16 15:45:07 +08:00
william chang(張仲威) 3fd9e5344b release 0.3.3-rc.1 (#262) 2024-05-16 13:59:03 +08:00
Shimin 5454c19f1b chore(wren-ui): Replace model preview data column name to alias (#260) 2024-05-16 11:29:56 +08:00
Shimin 9fcc5c7283 feat(wren-ui): Support SSL property to Postgres connector (#255)
* feat(wren-ui): provide ssl property to postgreSQL

* feat(wren-ui): add SSL & integrate property to connect data source

* doc(wren-ui): adding comment to configurations schema
0.3.3-rc.1 0.3.3
2024-05-15 18:09:53 +08:00
Andy Yenandwilliam chang 06fdf4ce35 Chore: provide opt-out option in CLI argument (#256)
* Set telemetry default to true and use flag to opt out

* adjust telemetry message

* Update wren-launcher/commands/launch.go

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

---------

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
2024-05-15 17:15:25 +08:00
Chih-Yu Yeh 66bfe8a95e Chore(wren-ui): record openai generation model used by user (#254)
* record openai generation model used by user

* remove unused comments
2024-05-15 11:20:10 +08:00
Chih-Yu Yeh cca5afd5f6 update (#253) 2024-05-14 18:34:08 +08:00
Shimin b618adf9c4 feat(wren-ui): Add version number in settings page & Github link (#252)
* feat(wren-ui): add wrenProductVersion to config

* feat(wren-ui): add product version to settings modal & add github link

* feat(wren-ui): add info circle icon to decorate version information
2024-05-14 16:50:55 +08:00
Howard Chi 0afca9a98d Update README.md (#251)
add new medium post to readme
2024-05-14 15:50:26 +08:00
Shimin 44a91fd129 chore(wren-ui): tracking page view when router change (#250) 2024-05-14 14:40:05 +08:00
william chang(張仲威) 2171ce4e70 release 0.3.2-rc.3 (#249) 0.3.2-rc.3 0.3.2 2024-05-14 13:38:16 +08:00
Shimin 1aadc9aba5 fix(wren-ui): Fix Posthog related env in client (#246)
* feat(wren-ui): add user config API for retrieve user setup & env

* fix(wren-ui): change telemetry keys from user config
2024-05-14 12:07:05 +08:00
wren-ai[bot] 0fd2852cea Upgrade AI Service version to 0.3.6 2024-05-14 03:46:14 +00:00
Chih-Yu Yeh 85203d58b2 fix indexing bug (#248)
* fix indexing bug

* add ddl store indexing description
2024-05-14 11:44:56 +08:00
wren-ai[bot] 7e1a9b30c6 Upgrade AI Service version to 0.3.5 2024-05-14 03:19:41 +00:00
Chih-Yu Yeh 027d170101 fix bugs (#247)
* disable random words

* fix test

* fix view indexing
2024-05-14 11:16:26 +08:00
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