fix and adjust main dashboard ai insight

This commit is contained in:
Alberto-Audrix committed 2026-09-17 14:27:08 +07:00
1 parent 18790ab8f6
commit 68e0d1a0bb
27 files changed
+360 -107

No files matched your search

+3 -3
View File
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
# Copy host "AI Insight/chroma_db" into the running rag container volume.
# Copy host "ai-insight/chroma_db" into the running rag container volume.
# Named volume rag-chroma mounts over the image-baked index — seed after first up.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
SRC="$ROOT/AI Insight/chroma_db"
SRC="$ROOT/ai-insight/chroma_db"
CID="${RAG_CONTAINER:-dashboard-cpsp-rag}"
if [[ ! -d "$SRC" ]]; then
echo "Missing $SRC — run: cd \"AI Insight\" && python populate_db.py" >&2
echo "Missing $SRC — run: cd ai-insight && python populate_db.py" >&2
exit 1
fi