mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-31 02:57:15 +08:00
* feat(wren-ui): wrenAIAdaptor * feat(wren-ui): migration file to add thread tables * feat(wren-ui): ask feature & thread graphql resolver * feat(wren-ui): thread repository * feat(wren-ui): finish ask & thread api * docker-compose for dev * fix(wren-ui): fix some transformation issues in API * fix(wren-ui/ask-feature): fix business logics in thread API * fix(wren-ui): revert some configs back * feat(wren-ui/ask): add follow-up question support * support update/delete thread * feat(wren-ui/ask): finish preview data & show full sql apis * feat(wren-ui/ask): use allSettle to print error message if a job failed * feat(wren-ui/ask): remove showsql mutation & put sql into threadResponse.detail * fix(wren-ui/ask): fix lint issue * fix(apollo): handle error formating * error handling * change of to create in error
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.