-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/wren ai service/demo lab (#128)
* setup duckdb demo dataset testing * allow demo to use duckdb demo dataset * remove debug message * remove unused command * update wren-ai-service demo setup and README * reformat sql, prevent duplicating deployment, update sampledata mdl * update logger setup and fix preview sql issue * remove psycopg2 * refine demo setup flow * revert * remove unused file * remove unused dep * change url * revert * add TODO for improvement * update
- Loading branch information
Showing
18 changed files
with
2,355 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ services: | |
- wren | ||
depends_on: | ||
- qdrant | ||
- wren-engine | ||
|
||
qdrant: | ||
image: qdrant/qdrant:v1.7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
prepare: | ||
cd .. && make run-all && make start | ||
cd ../../docker; docker compose --env-file .env.local -f docker-compose-dev.yaml up -d | ||
cd ..; make run-qdrant | ||
|
||
stop: | ||
cd ../../docker; docker compose --env-file .env.local -f docker-compose-dev.yaml down | ||
cd ..; make stop-qdrant | ||
|
||
ui: | ||
cd ../../wren-ui; export DB_TYPE=sqlite export SQLITE_FILE=db.sqlite3 yarn && yarn rollback --all && yarn migrate && yarn dev | ||
|
||
ai: | ||
cd ..; make start | ||
|
||
run: | ||
poetry run streamlit run app.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.