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

View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Your api key
PROXY_API_KEY="$PROXY_API_KEY"
PROXY_SERVER_URL="${PROXY_SERVER_URL-'https://api.openai.com/v1/chat/completions'}"
docker run --gpus all -d \
-p 5000:5000 \
-e LOCAL_DB_TYPE=sqlite \
-e LOCAL_DB_PATH=data/default_sqlite.db \
-e LLM_MODEL=proxyllm \
-e PROXY_API_KEY=$PROXY_API_KEY \
-e PROXY_SERVER_URL=$PROXY_SERVER_URL \
-e LANGUAGE=zh \
-v /data:/data \
-v /data/models:/app/models \
--name dbgpt \
eosphorosai/dbgpt