-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (17 loc) · 775 Bytes
/
Copy path.env.example
File metadata and controls
23 lines (17 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# DocBridgeAI Environment Variables
# Copy this file to .env and replace placeholders with real values
# OpenAI API — used for LLM-based shorthand expansion and metadata inference
OPENAI_API_KEY=your-openai-api-key-here
# Model to use for text cleaning/expansion (gpt-4o-mini recommended for cost)
OPENAI_MODEL=gpt-4o-mini
# Optional: Tesseract OCR binary path (required for scanned PDF support)
# macOS default: /opt/homebrew/bin/tesseract
# Linux default: /usr/bin/tesseract
TESSERACT_CMD=tesseract
# Max files allowed per upload session
MAX_FILES=5
# Max file size in MB per upload
MAX_FILE_SIZE_MB=20
# Output directory for future/custom runners (relative to project root).
# The current Streamlit app uses output/ via PipelineConfig in app.py.
OUTPUT_DIR=output