Commit Graph
482 Commits
Author SHA1 Message Date
Chih-Yu Yeh 7047dce592 refine wren-ai-service logging and setups (#486)
* refine logging

* use the latest tag

* fix setup instructions

* simplify dev process

* add azure_deployment

* update
2024-07-08 16:35:28 +08:00
Chih-Yu Yeh 257be9ec47 update python dependency (#490) 2024-07-08 15:30:18 +08:00
Andy Yen b8b866b2ab release 0.7.0 (#484) 0.7.0 2024-07-05 18:07:02 +08:00
Andy Yen bbd9f154e1 release 0.7.0-rc.1 (#483) 0.7.0-rc.1 2024-07-05 17:06:07 +08:00
Andy Yen 62e53d5774 Feature: Support ClickHouse data source (#481)
* add ClickHouse data source

* remove unused interface

* support clickhouse UI

* update ibis base url
2024-07-05 16:11:49 +08:00
Andy Yen 267ce1eba5 Chore: some update to reflect the adjustment of Wren Engine v0.6.0 (#472)
* no need to deploy wren engine anymore

* fix typo

* communicate with engine/ibis server with manifest.

* remove unused method in wren engine adaptor

* add comment at wren engine adaptor

* use the limit option from ibis server instead of rewriting the sql ourself

* prevent no successful deployment found

* pass manifest when getting native sql
2024-07-05 15:46:38 +08:00
wren-ai[bot] 364e7d9d4e Upgrade AI Service version to 0.7.0 2024-07-05 07:37:33 +00:00
Chih-Yu Yeh 445e4bbfee add quotes for the fallback option when sql breakdown fails (#480)
* add quotes

* fix failed test
2024-07-04 10:53:48 +08:00
Chih-Yu Yeh db83edbcf4 add llm info (#478) 2024-07-03 19:37:50 +08:00
Shimin 0440968418 fix(wren-ui): Add quote to SQL in preview model data API (#479)
* fix(wren-ui): add quote to sql in preview model data API

* fix(wren-ui): lint issues
2024-07-03 19:36:56 +08:00
Chih-Yu Yeh 59e6888718 update instructions for container logs in issue template (#477)
* update container logs

* update
2024-07-03 16:11:50 +08:00
Freda Lai af0ae85b52 chore(wren-ui): Improve schema change (#450)
* chore(wren-ui/api): improve getAffectedResources function

* chore(wren-ui/api): extract getAffectedResources as a reuse function

* chore(wren-ui/api): improve resolve schema change
2024-07-03 12:39:17 +08:00
Andy YenandChihYu Yeh 07b52886a0 Chore: add comment (#476)
* add comment

* refine comments

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-07-03 12:18:10 +08:00
Chih-Yu Yeh a8dded673a separate llm and embedder (#454) 2024-07-03 10:52:38 +08:00
Howard Chi c433c1b257 Update md styles 2024-07-02 21:41:30 +08:00
Howard Chi 46f32e02bd Update README.md (#473) 2024-07-02 21:40:45 +08:00
Chih-Yu Yeh 758096e82a remove query understanding (#463)
* ignore query understanding pipeline

* fix tests

* remove query understanding

* remove unrelated code

* add comemnts
2024-07-02 12:04:09 +08:00
Shimin e97a9de73a fix(wren-ui): Issues Encountered with Antd after Upgrading NextJS from 13 to 14 (#465)
* fix(wren-ui): resolve alias to cjs module of antd & change less plugin

* feat(wren-ui): update node version to 18 in workflow & doc

* chore(wren-ui): remove unused resolution
2024-07-01 11:55:18 +08:00
dependabot[bot] 8a73402554 chore(deps): bump next (#466)
Bumps the npm_and_yarn group with 1 update in the /wren-ui directory: [next](https://github.com/vercel/next.js).


Updates `next` from 14.1.1 to 14.2.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.1.1...v14.2.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 10:50:45 +08:00
dependabot[bot] 1e53249f77 chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#393)
Bumps the npm_and_yarn group with 2 updates in the /wren-ui directory: [next](https://github.com/vercel/next.js) and [braces](https://github.com/micromatch/braces).

Updates `next` from 13.5.6 to 14.1.1
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.5.6...v14.1.1)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 10:03:53 +08:00
dependabot[bot] 0dfefbc83b chore(deps): bump next from 13.5.6 to 14.1.1 in /wren-ui (#354)
Bumps [next](https://github.com/vercel/next.js) from 13.5.6 to 14.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.5.6...v14.1.1)

---
updated-dependencies:
- dependency-name: next
  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-30 16:56:52 +08:00
Chih-Yu Yeh a0416650a4 fix typo and add embedding models providers info (#462) 2024-06-28 21:40:53 +08:00
Andy Yen 65329fe20d release 0.6.0 (#461) 0.6.0 2024-06-28 16:26:12 +08:00
Andy Yen e3414cad7e release 0.6.0-rc.2 (#460) 0.6.0-rc.2 2024-06-28 15:54:12 +08:00
wren-ai[bot] 6eaed45d55 Upgrade AI Service version to 0.6.3 2024-06-28 07:25:27 +00:00
Chih-Yu Yeh 0255fee9ae Chore/ai service/auto deploy at init (#457)
* allow force deploy during server start

* fix force_deploy and env file
2024-06-28 15:22:07 +08:00
Andy Yen fbb5182f66 Chore: override compose file if using custom llm (#458)
* override compose file if using custom llm

* add required flag on llm compose file

* update readme
2024-06-28 13:26:55 +08:00
Howard Chi 7ad9edc9bc Update README.md (#456) 2024-06-28 11:21:58 +08:00
Andy Yen 7e140bd8af Chore: support force deploy (#452)
* support force deploy

* update makefile to zip executable files after build
2024-06-28 10:04:54 +08:00
Chih-Yu Yeh bac677747e fix launcher (#451) 2024-06-27 18:14:34 +08:00
Chih-Yu YehandPao Sheng 89492fdabc fix missing env (#449)
Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>
0.6.0-rc.1
2024-06-27 17:01:49 +08:00
Andy Yenandwilliam chang d17ff52df2 release 0.6.0-rc.1 (#448)
* release 0.6.0-rc.1

* update ai service to  0.6.2

---------

Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
2024-06-27 17:01:23 +08:00
wren-ai[bot] 1abce993c5 Upgrade AI Service version to 0.6.2 2024-06-27 08:40:02 +00:00
Chih-Yu Yeh 85cd002cd1 change logger.error to logger.exception (#447) 2024-06-27 16:37:22 +08:00
Freda Laiandonlyjackfrost 00759947f4 feat(wren-ui): Support schema change phase 2 (#442)
* chore(wren-ui/api): update getSchemaChange function

* feat(wren-ui/api): detect affected relationships and calculated fields

* feat(wren-ui/api): handle resolve schema change

* feat(wren-ui): schema change Modal UI

* fix(wren-ui): update model columns issue

* chore(wren-ui/api): separate getAffectedCalculatedFieldsAndRelationships as new function

* chore(wren-ui): improve operating DB code

* fixup! feat(wren-ui): schema change Modal UI

* chore(wren-ui): use NodeType instead of ResourceTypes

* chore(wren-ui): update tip message

* fixup! chore(wren-ui/api): separate getAffectedCalculatedFieldsAndRelationships as new function

* fixup! fix(wren-ui): update model columns issue

* fix(wren-ui/api): Remove unnecessary code as its data will be deleted along with it

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

* fix(wren-ui/api): fix find data logic

* fixup! fix(wren-ui/api): fix find data logic

* feat(wren-ui): get latest model list data when resolving schema change

* fix(wren-ui/api): fix logic and update comments

* fixup! fix(wren-ui/api): fix logic and update comments

* chore(wren-ui): improve function logic

* add TODO comment

* fix(wren-ui): fix update model logic for CF

---------

Co-authored-by: onlyjackfrost <onlyjackfrost@gmail.com>
2024-06-27 15:32:18 +08:00
wren-ai[bot] 311ae6f3bd Upgrade AI Service version to 0.6.1 2024-06-27 03:27:10 +00:00
Chih-Yu Yeh 16b475c7e8 fix wren-ai-service 0.6.0 issues (#445)
* fix typo

* fix missing env and recreate index by default

* fix tests

* clean document store when init

* fix test

* set QDRANT_HOST default value

* logging apibase

* read env files

* fix loading .env.ai issues

* change default ollama model to llama3:70b

* remove QDRANT_HOST

* make .env.ai optional

* refine wording

* rename .env.ai to .env.ai.old to old files

* add comment
2024-06-27 11:17:28 +08:00
wren-ai[bot] 937f2ab9a1 Upgrade AI Service version to 0.6.0 2024-06-26 10:40:44 +00:00
Andy YenandFreda Lai aa8ca23257 Feature: Support MS SQL Server data source (#443)
* chore: Refactor DuckDB connection handling in projectResolver

* abstract the data source actions to data source util

* add mssql data source

* feat(wren-ui): Add SQL Server Data Source UI

* feat(wren-ui/e2e): Add basic tests for SQL Server

* better error handling

* fix lint issue

---------

Co-authored-by: Freda Lai <fredalai00@gmail.com>
2024-06-26 17:23:17 +08:00
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