* 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>
* 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
* 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>
fix WrenAI kustomization manifests: add workers env for AI service & fix wren-engine-svc
---------
Co-authored-by: william chang(張仲威) <wwwy3y3@gmail.com>
* feature: install aiohttp
* chore: move all related function into the engine module
* feature: validate the sql via aiohttp to communicate with engine
* feature: support qdrant component to async
* chore: using `==` to specify the version for packages
* chore: update the poetry lock file
* feat: refactor the retrieval pipeline
* feat: add await to start the coroutine
* feat: modify the test case
* feat: refactor the historical question for view pipeline
* fix: correct the test cases
* chore: comment out the generate description test case
* feat: refactor the indexing pipline with Hamilton
* chore: shorten the pipe name and correct the test cases
* fix: correct the test cases
* make hamilton pipeline cleaner
* simplify pipeline file name
* remove redundant init_post_processor function and refine indexing and followup_generation
* refine ask generation pipeline
* refine ask sql_correction pipeline
* add TODO comment
* refine ask_details generation pipeline
* update tests
---------
Co-authored-by: Pao-Sheng Wang <paooap.oappao@gmail.com>
* feat: add an experiment query understanding pipeline
* exper: add sync pipe for comparison
* exper: using async generator instead
* chore: remove the testing setting and fix the hamilton version
* chore: removing the experiment pipeline
* feat: impl openai async generator
* feat: refactor the pipeline
* feat: change the driver output type
* feat: modify the behavior for ask service
* chore: remove the testing code
* fix: test cases
* fix: ignore timer decorator and fix a key error