-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
38 lines (30 loc) · 847 Bytes
/
env.example
File metadata and controls
38 lines (30 loc) · 847 Bytes
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
38
# ScholarNet 2.0 Environment Configuration
# Database Configuration
DATABASE_URL=postgresql://scholarnet:scholarnet@localhost:5432/scholarnet
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
# ChromaDB Configuration
CHROMADB_HOST=localhost
CHROMADB_PORT=8001
CHROMADB_COLLECTION=scholarnet-papers
# Application Configuration
APP_NAME=ScholarNet 2.0
APP_VERSION=2.0.0
DEBUG=true
LOG_LEVEL=INFO
# API Configuration
API_PREFIX=/api/v1
CORS_ORIGINS=["http://localhost:3000", "http://127.0.0.1:3000"]
# Search Configuration
DEFAULT_SEARCH_SIZE=20
MAX_SEARCH_SIZE=100
SEARCH_TIMEOUT_MS=5000
# ML Configuration
BERT_MODEL_NAME=sentence-transformers/all-MiniLM-L6-v2
EMBEDDING_DIMENSION=384
VECTOR_SIMILARITY_THRESHOLD=0.7
# Performance Configuration
DB_POOL_SIZE=10
DB_MAX_OVERFLOW=20
CACHE_TTL_SECONDS=3600
SEARCH_CACHE_TTL_SECONDS=1800