Commit Graph
513 Commits
Author SHA1 Message Date
Andy Yen 970232dff7 release 0.7.4 (#542) 0.7.4 2024-07-19 14:54:16 +08:00
Pao ShengandChihYu Yeh e4dfbb6044 feat(wren-ai-service): Implement the process for the evaluation framework (#525)
* feat: implement prediction process

* feat: implement evaluation process

* feat: add args to specify the eval dataset path

* feat: add args to specify the path of prediction file

* feat: CLI to trigger prediction and evaluation

* chore: ignore deepeval cache

* feat: flushing langfuse before process done

* feat: support average score as a trace

* chore: add readme for the evaluation framework

* fix: append sys path to eval processes to avoid the import error

* chore: upgrade the deepeval version

* chore: rename the command option

* chore: add terms into README

* enhance: using with open instead open file directly

* feat: specify the config to init providers

* feat: current commit hash and branch into metadata

* feat: async to run prediction task

* feat: unify retrieval context and expected context format in the prediction result file

* feat: current commit hash and branch into metadata for average trace

* reorder import

* update method parameter types

* reorder imports

* chore: add date into the prediction file name

---------

Co-authored-by: ChihYu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-07-19 11:03:46 +08:00
wren-ai[bot] 7f22cf862f Upgrade AI Service version to 0.7.4 release/ai-service/0.7.4 2024-07-19 03:01:29 +00:00
Chih-Yu Yeh 0fa6f625a0 feat(wren-ai-service): add gpt-4o-mini (#541)
* add gpt-4o-mini

* fix docker setup
2024-07-19 10:20:37 +08:00
Chih-Yu Yeh fee167ac9d Chore/update kustomizations based on new version of wren-ai-service (#514)
* fix based on default image versions

* remove sqlite

* update kustomizations to the latest version of ai-service, without custom llms

* update instructions

* fix typo
2024-07-18 15:48:17 +08:00
Chih-Yu Yeh 0a953d482f chore(wren-ai-service): eval refactor for common functions (#536)
* refactor get_data_from_wren_engine

* add limit

* move common functions for eval to eval/utils.py

* update env
2024-07-18 13:57:10 +08:00
dependabot[bot] c9d0251a1d chore(deps-dev): bump requests (#530)
Bumps the pip group with 1 update in the /wren-ai-service directory: [requests](https://github.com/psf/requests).


Updates `requests` from 2.31.0 to 2.32.2
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:development
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-18 13:02:25 +08:00
Chih-Yu Yeh b50bbd2e14 feat(wren-ai-service): evaluation dataset curation app (#398)
* fix

* fix conflict

* add data curation app boilerplate

* update

* update

* update

* WIP: update

* reoslve conflict

* add context for question sql pairs

* resolve conflict

* fix widget callback issue

* add candidate dataset

* fix bug and add generate_by_user

* update

* resolve conflicts

* update

* update

* WIP: add modify dataset

* finish modify eval dataset

* refine wording

* refine failure output

* fix sql validation

* update usage guide

* add categories to curation app

* allow edit context

* fix conflicts

* sleep for waiting wren-ai-service to restart

* fix wording

* update

* fix

* fix unchoose file error

* update

* fix

* fix dry run endpoint

* fix version

* use wren-engine sql analysis for contexts generation

* add LOG_LEVEL: DEBUG to ibis

* update

* allow users to choose which openai llm to use

* allow users to enter custom instructions for llm

* add data preview for data curation app

* add preview data for user generated sqls and add timeout for openai client

* refactor

* remove unused

* fix imports

* refactor functions

* refactor

* fix bug

* skip installing unneeded packages

* update
0.7.3
2024-07-17 17:16:30 +08:00
Andy Yen 021c0873c5 release 0.7.3 (#529) 2024-07-17 17:14:57 +08:00
wren-ai[bot] 1211233d75 Upgrade AI Service version to 0.7.3 release/ai-service/0.7.3 2024-07-17 01:50:50 +00:00
Andy Yen 6e52c2a6df Release 0.7.2 (#524)
* release 0.7.2

* update env.example
0.7.2
2024-07-16 16:03:36 +08:00
Grieve b89e552838 Add wren eninge as a submodule (#507) 2024-07-16 16:02:54 +08:00
Andy Yen c1d455fbc2 rm instruction (#523) 2024-07-16 13:19:48 +08:00
Andy Yen fe9524c613 remove logs (#521) 2024-07-16 11:42:39 +08:00
Pao Sheng 569dc1a230 fix(wren-ai-service): modify the env ibis service in the dev env example (#517)
* fix(wren-ai-service): modify the dev env example value for ibis service

* chore: disable langfuse by default and set logging level to debug
2024-07-16 10:42:02 +08:00
dependabot[bot] e13e8f7308 chore(deps-dev): bump setuptools (#519)
Bumps the pip group with 1 update in the /wren-ai-service directory: [setuptools](https://github.com/pypa/setuptools).


Updates `setuptools` from 69.5.1 to 70.0.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.5.1...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 10:00:13 +08:00
Pao ShengandChih-Yu Yeh 0a1a47d790 chore(wren-ai-service): optimize the PyTest and Image release CI (#508)
* feat: reduce the time to install poetry and python

* fix(wren-ai-service): remove the duplicate version

* feat: using actions poetry to install poetry

* chore: upgrade the poetry version for CI

* chore: modify the trigger option to reduce the cose

* chore: refactor the github action for release an image

* chore(wren-ai-service): tag for producing changelogs

* feat(wren-ai-service): produce change log in github action

---------

Co-authored-by: Chih-Yu Yeh <chihyu.jimmy.yeh@gmail.com>
2024-07-15 15:15:27 +08:00
Chih-Yu Yeh 14c396d274 pull ollama models if not exist automatically (#512)
* pull ollama models if not exist automatically

* add ollama_url to pull_ollama_model

* fix bug

* update message for Custom llm provider and timeout for ai service

* update message

* fix intro for WREN_IBIS_CONNECTION_INFO
2024-07-15 14:54:28 +08:00
Chih-Yu Yeh 36506cd157 update (#515) 2024-07-15 10:59:47 +08:00
Howard Chi c55dd27aa9 Add new blog posts to README 2024-07-12 03:28:44 +00:00
Andy Yen 8911ae5c95 fix(wren-ui): fix unit test and add some test cases (#503) 2024-07-11 14:57:32 +08:00
Himanshu Mendapara 3a4d4294da Multiple table selection enabled after search. #396 (#491)
* fix: multiple table selection enabled after search

* fix: removed console statements

* fix: added  select all functionality

* fix: select all issue fixed
2024-07-10 20:38:19 +08:00
Andy Yen c23ae65f20 release 0.7.1 (#502) 0.7.1 2024-07-10 16:11:50 +08:00
Chih-Yu Yeh 969bdce4fd fix dry run endpoint (#501) 2024-07-10 14:44:01 +08:00
wren-ai[bot] 7425974d5f Upgrade AI Service version to 0.7.2 release/ai-service/0.7.2 2024-07-10 05:31:47 +00:00
Chih-Yu Yeh 56f51f3dfb fix trigger method for foce_deploy.py (#500)
* fix

* revert force_deploy and refine entrypoint
2024-07-10 13:30:52 +08:00
Andy Yen 5b314b5a53 release 0.7.1-rc1 (#499) 0.7.1-rc.1 2024-07-10 12:22:31 +08:00
wren-ai[bot] e8dff8193b Upgrade AI Service version to 0.7.1 2024-07-10 02:42:01 +00:00
Chih-Yu Yeh 2d157c7b29 Chore/ai service/minor update (#497)
* add azure_deployment

* update init_langfuse
2024-07-10 10:30:00 +08:00
Pao Sheng ae657bb0ac feature(wren-ai-service): integrate Langfuse SDK to represent the evaluation result (#395) (#495)
* feature(wren-ai-service): integrate Langfuse SDK to represent the evaluation result (#395)

* chore: modify the import operation to the suitable place
2024-07-09 17:30:20 +08:00
Chih-Yu Yeh 6194a1013f minor update for ai-service (#493)
* remove trailing / in urls of env vars

* update

* fix

* fix bug

* simplify codebase
2024-07-09 12:04:28 +08:00
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