-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (17 loc) · 1.28 KB
/
.env.example
File metadata and controls
22 lines (17 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ── Askbase Environment Configuration ──────────────────────────────
# Copy to .env and customize for your deployment.
# ── Auth Tokens ───────────────────────────────────────────────────
# Admin token for /ingest, /evaluate, /admin/stats endpoints
RAG_ADMIN_TOKEN=admin-demo-token
# User token for /ask endpoint
RAG_USER_TOKEN=user-demo-token
# ── Server ────────────────────────────────────────────────────────
# Host and port for the FastAPI backend
RAG_HOST=0.0.0.0
RAG_PORT=8080
# ── Index ─────────────────────────────────────────────────────────
# Path to the persisted RAG index (pickle)
RAG_INDEX_PATH=artifacts/rag_index.pkl
# ── Frontend ──────────────────────────────────────────────────────
# Backend URL the Next.js frontend calls
NEXT_PUBLIC_API_URL=http://127.0.0.1:8080