-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 1.17 KB
/
.env.example
File metadata and controls
37 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# =======================================================================
# i3T4AN (Ethan Blair)
# Project: Vector Knowledge Base
# File: Environment configuration template
# =======================================================================
# Copy this file to .env and customize as needed
# Qdrant Configuration
QDRANT_HOST=localhost # Use "qdrant" when running in Docker Compose
QDRANT_PORT=6333
QDRANT_COLLECTION=vector_db
# File Upload Settings
UPLOAD_DIR=uploads
MAX_FILE_SIZE=52428800 # 50MB in bytes
# Embedding Model
EMBEDDING_MODEL=all-mpnet-base-v2
# Compute Device (for native mode)
DEVICE=auto # Options: "auto", "cpu", "cuda", "mps"
# Chunking Settings
CHUNK_SIZE=500
CHUNK_OVERLAP=50
# CORS Origins (comma-separated for multiple)
# CORS_ORIGINS=["http://localhost:8001", "http://127.0.0.1:8001"]
# Security - Admin key for /reset endpoint (leave empty to disable protection)
ADMIN_KEY=
# Rate Limiting (absurdly high defaults - won't affect normal personal use)
# Format: "requests/timeunit" (e.g., "10/minute", "100/hour", "1000/day")
RATE_LIMIT_UPLOAD=1000/minute
RATE_LIMIT_SEARCH=1000/minute
RATE_LIMIT_RESET=60/minute