feat: Knowledge QA support SQLite

This commit is contained in:
FangYin Cheng
2023-08-11 18:23:57 +08:00
parent 0859f36a89
commit 8cea0b9a9f
25 changed files with 318 additions and 55 deletions

12
docker/base/run_sqlite.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
docker run --gpus all -d \
-p 5000:5000 \
-e LOCAL_DB_TYPE=sqlite \
-e LOCAL_DB_PATH=data/default_sqlite.db \
-e LLM_MODEL=vicuna-13b-v1.5 \
-e LANGUAGE=zh \
-v /data:/data \
-v /data/models:/app/models \
--name dbgpt \
eosphorosai/dbgpt