5 Commits
Author SHA1 Message Date
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
william chang(張仲威) a59bafc7f4 feat(wren-launcher): add pg_username & password to accounts file at bootstrap 2024-04-16 11:52:55 +08:00
Chih-Yu Yeh 69263e6dd9 Chore/docker compose update (#69)
* update docker related settings

* change WREN_AI_SERVICE_PORT default 5555

* add pull_policy, restart condition and update wren-ai-service port

* fix default port for wren-ai-service
2024-04-03 15:57:09 +08:00
Chih-Yu YehandPao Sheng 32cd3df311 Feature/ai service/fix failed sql queries + add error code (#50)
* resolve conflict

* allow visualization using one file

* remove default argparse option value

* resolve conflict

* resolve conflict

* resolve conflict

* update setup instructions

* resolve conflict

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* add anthropic model pricing

* allow change model for anthropic

* resolve conflicts

* resolve conflicts

* remove invalid sql generation results

* WIP: add sql correction

* add sql correction pipeline

* update ai service ci yaml

* update eval

* add instructions for running tests

* add comments for cte_name validation for last step

* use wren-engine api to validate sql instead of wren-engine psql

* simplify testing instructions

* update testing step

* create missing dir

* fix commands

* add WREN_ENGINE_ENDPOINT

* update WREN_ENGINE_ENDPOINT

* add container:ubuntu

* undo

* changed to localhost

* adjust docker network

* test ci

* test ci

* update

* update

* update

* revert

* update

* revert

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix bug

* update

* remove contest

* Feature/ai service/add error code (#40)

* resolve conflict

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* resolve conflicts

* refine

* remove unused files

* resolve conflicts

* add error code and post processor to ask details

* add volume for qdrant and WREN_ENGINE_ENDPOINT for wren-ai-service

* add status check for ask service and fix tests

* Update wren-ai-service/tests/services/test_ask_details.py

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

* Update wren-ai-service/tests/services/test_ask_details.py

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

---------

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>

---------

Co-authored-by: Pao Sheng <paooap.oappao@gmail.com>
2024-03-28 15:11:30 +08:00
william chang(張仲威) ffbb2c4084 Feature: build wren-ui docker image & docker-compose to start all service we need (#27)
* feat(dockerfile): add standalone option. fix eslint issues at next.config.js

* feat(docker): add docker-compose file

* feat(docker): add QDRANT_HOST

* feat(docker): modify docker-compose to add a bootstrap runner

* feat(docker): bootstrap service

* feat(wren-ui): add dockerfile for wren-ui

* fix(wren-ui): rm docker entry script

* feat(docker): publish ui & bootstrap packages

* feat(docker): remove comment in dockerfile & put up a how to start in readme

* fix(docker): change ai-service port to 80
2024-03-22 16:39:48 +08:00