-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (21 loc) · 853 Bytes
/
Copy path.env.example
File metadata and controls
25 lines (21 loc) · 853 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
# Database
DATABASE_URL=postgres://user:password@localhost:5432/nextralume
TEST_DATABASE_URL=postgres://user:password@localhost:5432/nextralume_test
# Admin token for protecting admin pages
ADMIN_TOKEN=your-secure-random-token-here
ADMIN_SESSION_SECRET=your-secure-random-session-secret-here
# ERNIE (OpenAI-compatible) configuration
ERNIE_API_BASE=https://api.ernie.example.com/v1
ERNIE_API_KEY=
ERNIE_MODEL=
ERNIE_MAX_OUTPUT_TOKENS=8000
# OCR provider configuration (example uses an OpenAI-compatible endpoint)
PADDLE_OCR_API_BASE=https://api.novita.ai/openai
PADDLE_OCR_API_KEY=
PADDLE_OCR_MODEL=
PADDLE_OCR_MAX_OUTPUT_TOKENS=4000
PADDLE_OCR_MAX_OUTPUT_CHARS=20000
# Local Assistant SQL Generation configuration (OpenAI-compatible)
LOCAL_SQL_OPENAI_API_BASE=https://api.openai.com/v1
LOCAL_SQL_OPENAI_API_KEY=
LOCAL_SQL_OPENAI_MODEL=gpt-4.1-mini