-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 764 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (25 loc) · 764 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
APP_NAME=Image Matching Engine
APP_VERSION=1.0.0
ENVIRONMENT=development
LOG_LEVEL=INFO
CORS_ORIGINS=["*"]
ALLOWED_HOSTS=["*"]
RATE_LIMIT_DEFAULT=100/minute
RATE_LIMIT_WRITE=20/minute
# Host port 5434 avoids clashing with other local Postgres containers.
DATABASE_URL=postgresql://capstone:capstone@localhost:5434/image_match
API_KEY=dev-local-key
DEFAULT_TENANT_SLUG=demo
OLLAMA_BASE_URL=http://127.0.0.1:11434
VISION_MODEL=llava
EMBED_MODEL=nomic-embed-text
TEXT_MODEL=llama3.2
OLLAMA_TIMEOUT_S=120
MAX_AI_RETRIES=2
MAX_CALLS_PER_JOB=200
CONFIDENCE_THRESHOLD=0.70
SIMILARITY_THRESHOLD=0.78
# 1 = deterministic local stubs (no Ollama). Use for tests / first seed.
AI_STUB=0
# Free Pexels API key (no credit card): https://www.pexels.com/api/
PEXELS_API_KEY=