mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-24 23:29:49 +08:00
* 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>
Service
wren-engine: the engine service. check out example here: wren-engine /examplewren-ai-service: the AI service. check out example here: wren-ai-service docker-compose exampleqdrant: the vector store ai service is using.wren-ui: the UI service.bootstrap: put required files to volume for engine service.
Volume
Shared data using data volume.
Path structure as following:
/mdl*.json(will putsample.jsonduring bootstrap)
accountsconfig.properties
Network
- Check out Network drivers overview to learn more about
bridgenetwork driver.
How to start
- copy
.env.exampleto.env.localand modify the OpenAI API key. - (optional) if your port 3000 is occupied, you can modify the
HOST_PORTin.env.local. - run
docker-compose --env-file .env.local upto start all services.