Commit Graph
443 Commits
Author SHA1 Message Date
Chih-Yu Yeh 53bda673a8 minor update for supporting 3rd party Open AI APIs + add Ollama (#376) 2024-06-26 16:09:41 +08:00
Pao Sheng ac0f67c448 feature(wren-ai-service): implement Engine Adapter to validate queries (#440)
* feature: extract the engine to abstraction

* feature: init engine

* feature: impl wrenui engine

* chore: rename the folder

* chore: add engine type into env

* fix: typo

* feature: impl ibis engine

* chore: modify the ibis engine env

* chore: expose ibis

* feature: modify the behavior for our returning spec

* fix: test cases

* feature: add properties for engine dry run method
2024-06-25 14:17:01 +08:00
Howard Chi 60463c08a9 Update README.md 2024-06-24 23:34:39 +08:00
Howard Chi 08d2c996a0 Update README.md 2024-06-24 20:23:57 +08:00
Howard Chi 49fb1f3eb3 Rename wren ai (#441)
* rename from WrenAI to Wren AI

* rename from WrenAI to Wren AI
2024-06-24 20:20:41 +08:00
Andy Yen 00abbb4d54 add collecting log instruction (#438) 2024-06-21 18:27:15 +08:00
Andy Yen 5734286fb4 Release 0.5.0 (#435)
* release 0.5.0

* update cm.yaml
0.5.0
2024-06-21 16:11:39 +08:00
Andy Yen 910d732369 update ibis version (#433) 0.5.0-rc.1 2024-06-20 14:49:46 +08:00
Andy Yen 4acc982dcb release 0.5.0-rc.1 (#432) 2024-06-20 14:18:52 +08:00
wren-ai[bot] c78cba35b7 Upgrade AI Service version to 0.5.7 2024-06-20 03:35:04 +00:00
Chih-Yu Yeh eecb74d30f Chore/ai service/minor update (#431)
* add prompt for alias, and add relationship info during indexing

* update prompt

* refine prompt

* add missing env

* change azureopenai to azure_openai for consistency

* refine del dictionary key
2024-06-20 11:31:30 +08:00
Andy Yen 6f7934f541 chore: change getMDL API from mutation to query and adjust input variable (#425) 2024-06-20 11:09:21 +08:00
Freda Lai 20aa1c1811 feat(wren-ui): Support MySQL data source UI (#429)
* feat(wren-ui): Support MySQL data source UI

* feat(wren-ui): Add basic e2e tests
2024-06-19 18:24:28 +08:00
Andy Yen bd03b87723 Feature(wren-ui): Support MySQL data source (#430)
* add mysql data source and refactor

* fix pg use connection string instead of host base connection info

* rm console

* fix comment
2024-06-19 18:18:43 +08:00
Freda Lai 8faebc76bb feat(wren-ui/e2e): Add calculated fields CRUD test for E-commerce sample dataset (#427)
* chore(e2e): update .env.test

* chore(e2e): update README.md for E2E

* feat(wren-ui/e2e): add CF test for e-commerce
2024-06-19 17:02:02 +08:00
Pao ShengandChihYu Yeh ec1f7fa513 feature(wren-ai-service): CI enhancement with docker compose (#428)
* rename yml to yaml, fix some tests

* update

* refine

* update: remove redis, re_run, workers number, add pipeline visualization

* add visualization

* remove unused code

* chore: store all development data in the etc folder

* chore: update the ai service readme for development commands

* chore: marked some sections to deprecated

* chore: remove the wren engine docker compose from eval folder

* chore: remove unused commands in the test command

* chore: modify the CI behavior to run test cases

* fix: add the env to access UI endpoint

* chore: remove workers from kustomization

* chore: temporarily loose some assertions

* chore: set the timer to disable by default

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-06-19 12:18:59 +08:00
Shimin 55a3144c5a feat(wren-ui): Schema changes - Affected model & columns UI (#414)
* feat(wren-ui): add dayjs packages

* feat(wren-ui): generate all schema changes related APIs to UI

* feat(wren-ui): refine alert component to global styles

* feat(wren-ui): refine tag component to global styles

* feat(wren-ui): provide show more count to ellipsis wrapper component

* feat(wren-ui): provide a slot next to the sidebar group title

* feat(wren-ui): adjust sidebar action disabled styles

* feat(wren-ui): add schema change impact modal for modeling sidebar tree

* feat(wren-ui): enhance schema change resolve UX & wording
2024-06-18 17:41:39 +08:00
Shimin 9e2c28a937 feat(wren-ui): Detects schema change - table & column (#404)
* feat(wren-ui): add new migration of create schema changes table

* feat(wren-ui): add schema change repository for usage

* feat(wren-ui): add trigger data source detection graphql API

* feat(wren-ui): add get schema change graphql API

* feat(wren-ui): add resolve schema change graphql API

* fix(wren-ui): fix await when create new schema change

* fix(wren-ui): fix columns schema change record condition

* feat(wren-ui): refine get schema changes to provide UI affected models data

* fix(wren-ui): change to list tables through ibis server, replenish delete all schema change in reset project

* style(wren-ui): refine coding styles in schema change API & schema change detector

* feat(wren-ui): provide last schema change time to get schema change API

* feat(wren-ui): add mark all resolved when no schema change detected
2024-06-18 10:33:31 +08:00
Howard Chi 776e78a5c3 Update README.md 2024-06-18 07:42:35 +08:00
Howard Chi eb8164ba26 Update README.md 2024-06-18 07:41:59 +08:00
Howard Chi b521a613ac Update README.md 2024-06-18 06:53:17 +08:00
qdrddrandwilliam chang 999c6cfda8 ibis added and some variables and fixes for WrenAI kustomization manifests (#423)
* ibis added and some variables and fixes for WrenAI kustomization manifests
---------

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
2024-06-17 22:42:49 +08:00
Howard Chi bc9abfd6a6 Update readme with demo (#426)
* Update README.md

* Update README.md
2024-06-17 21:26:10 +08:00
Howard Chi 265e3ea4b8 Update README.md 2024-06-15 21:58:34 +08:00
Andy Yen 18cd67fd97 release 0.4.3 (#424) 0.4.3 2024-06-14 22:37:57 +08:00
wren-ai[bot] cc6b6ff258 Upgrade AI Service version to 0.5.6 2024-06-14 14:20:30 +00:00
Chih-Yu Yeh 1827aa5d66 fix incorrect historical question filter score issue (#422) 2024-06-14 22:19:41 +08:00
william chang(張仲威) 86e1fb6d76 release 0.4.2 (#421) 0.4.2 2024-06-14 21:28:44 +08:00
wren-ai[bot] d737726598 Upgrade AI Service version to 0.5.5 2024-06-14 13:03:01 +00:00
Chih-Yu Yeh cd8de6b3b7 fix saved as view number (#420) 2024-06-14 21:02:03 +08:00
william chang(張仲威) 9738e7ad1f release 0.4.1 (#419) 0.4.1 2024-06-14 20:05:39 +08:00
william chang(張仲威) 38a0d0e255 fix(docker): remove redis (#418) 2024-06-14 20:02:38 +08:00
Andy Yen 291e374580 release 0.4.0 (#416) 0.4.0 2024-06-14 19:07:08 +08:00
Andy Yen b652515de6 release 0.4.0-rc.4 (#415) 0.4.0-rc.4 2024-06-14 17:07:19 +08:00
wren-ai[bot] 8a41a357d3 Upgrade AI Service version to 0.5.4 2024-06-14 08:33:27 +00:00
Chih-Yu Yeh 7a169942a5 fix view id issue (#413) 2024-06-14 16:32:34 +08:00
Andy Yen 97d515a215 fix createMany with too much input value issue (#412) 2024-06-14 15:57:21 +08:00
Howard Chi 9d73942fa3 Update README.md 2024-06-14 12:58:41 +08:00
Howard Chi d64238c728 Update README.md 2024-06-14 12:22:52 +08:00
Howard Chi d13cb59e58 Update README.md (#410) 2024-06-14 12:22:07 +08:00
Andy Yen b014e686e3 release 0.4.0-rc.3 (#409) 0.4.0-rc.3 2024-06-14 11:14:45 +08:00
wren-ai[bot] aa55b2941c Upgrade AI Service version to 0.5.3 2024-06-13 15:43:04 +00:00
Pao ShengandChihYu Yeh be0c6412fc feature(wren-ai-service): Enhance the response for Dry-run API to Wren UI and development support (#407)
* enhance: clear the status and error

* chore: docker-compose to start all depends

* update

* remove config.properties

* chore: 10 mins timeout for the ci

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-06-13 23:42:03 +08:00
Andy Yen e5e80845c3 Fix(wren-ui): fix previewSql mutation for doing dry run (#406)
* fix previewSql mutation(doing dry run)
- throw graphql error  back to client  instead of return false
- graphql error contains error code DRY_RUN_ERROR and the error message from ibis/wren-engine back to client

* log info
2024-06-13 18:03:51 +08:00
Howard Chi 38f1dbb696 Update README.md 2024-06-13 15:01:57 +08:00
LiJung Chi 8e0c045991 chore: add vision diagram in the readme 2024-06-13 11:42:28 +08:00
Andy Yen 3c8741f200 release 0.4.0-rc-2 (#405) 0.4.0-rc.2 2024-06-13 07:56:59 +08:00
Andy YenandShimin f4e4551498 Epic: integrate with ibis-server (#403)
* Chore: integrate with ibis server (#306)

* feat: Add ibis adaptor for querying supported data sources

* feat: Add testIbis resolver for querying supported data sources

* feat: use queryService for preview and describe statement

* feat: Refactor ibisAdaptor to use DataSourceName enum consistently

* test ibis using tpch query

* rm test ibis

* feat: Add previewSql resolver for SQL preview

* rm debug log

* use projectId and manifest to generate hash
Implement getMDL api

* pass mdl to ibis server to preview

* transform manifest data type to json object when retrieved from database

* better error message from Ibis server, rewrite host when development and using docker

* use base64 str to transfer mdl

* update README

* change env name to fit naming style.
update docker-compose.x.yaml and .env.example file

* fix yarn build issue

* update docker-compose file: fix incorrent ibis server endpoint

* port forward to ibis server

* fix incorrect migration rollback function

* update engine version

* Chore: refactor database schema to reflect how we use them. (#341)

* add connectionInfo column and do data migration

* drop deprecated columns that store connection info, use connectionInfo column instead

* do data migration to store tableReference in model's properties

* fix incorrect migration rollback function

* use tableReference in mdl instead of refSql

* chore: Update variable names in ibisAdaptor and queryService

* chore: Update variable names in ibisAdaptor and queryService

* fix lint

* rename variable in ibis adaptor

* - remove duplicate logic to parse string
- add comment

* release 0.4.0-rc.1 (#378)

* fix: fix nested resolver to format sql (#379)

* feat(wren-ui): Provide limit property in preview data API for excel-add-in used (#373)

* fix(wren-ui): add displayName to all view API which share ViewInfo type in graphQL

* feat(wren-ui): provide limit property of preview API for usage in excel-add-in

* Chore: minimized the diversity of data sources from wren-ui  (#384)

* chore: Update ibisAdaptor to include methods for getting tables and constraints

* remove strategies and connectors from codebase, use ibis server and wrenEngine to fetch metadata of data source

* add validation rule api in ibisAdapter

* replace invalid char when generating referenceName

* fix comments

* Feature: support dry run in preview API (#402)

* can dry-run  with previewSql

* update env.example and docker-compose-dev.yaml

---------

Co-authored-by: Shimin <andreashimin@gmail.com>
2024-06-12 21:19:05 +08:00
wren-ai[bot] cbb07103e6 Upgrade AI Service version to 0.5.2 2024-06-12 12:23:53 +00:00
Pao Sheng b86cd6f3e2 feature(ai-service): wren-ui dry-run SQL API instead of wren-engine API (#400)
* feat(ai-service): change dryrun api

* feat: change the docker env
2024-06-12 20:20:43 +08:00