Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
62 lines (54 loc) · 2.01 KB
/
Copy path.env.example
File metadata and controls
62 lines (54 loc) · 2.01 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Runtime
ENV=production
APP_PORT=3015
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8483
MAX_UPLOAD_BYTES=67108864
# Frontend
VITE_API_BASE_URL=/api
VITE_SCREENSHOT_BASE_URL=/static/screenshots
VITE_FRONTEND_PORT=3015
# Backend paths
STATIC=/static
OUT_DIR=./static/screenshots
PAPER_OUTPUT_DIR=paper_results
IMAGE_BASE_URL=/static/screenshots
DATA_DIR=data
# Python package mirror used by Docker builds
PIP_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
# Paper metadata discovery. Related-work search never adjudicates truth.
PAPER_SEARCH_DEADLINE=8
# Optional proxy for public academic providers only; local APIs and Elasticsearch stay direct.
PAPER_SEARCH_PROXY_URL=
# China deployment: Crossref is primary and OpenAlex supplements arXiv metadata.
PAPER_SEARCH_REQUIRE_PROXY=false
# Optional arXiv-only HTTPS gateway; it must mirror /api/query, /abs/<id>, and /pdf/<id>.
ARXIV_GATEWAY_URL=
# Shared gateway key. Never commit a real value.
ARXIV_GATEWAY_API_KEY=
CROSSREF_API_URL=https://api.crossref.org/works
OPENALEX_API_URL=https://api.openalex.org/works
CROSSREF_MAILTO=
ELASTICSEARCH_URL=http://127.0.0.1:9200
PAPER_SEARCH_ES_REPLICAS=0
GOOGLE_SCHOLAR_API_URL=
SERPAPI_API_KEY=
# Local multilingual paper retrieval. The pinned ONNX model is cached on first use.
CHAT_VECTOR_INDEX_ENABLED=auto
CHAT_EMBEDDING_MODEL=sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
CHAT_EMBEDDING_MODEL_REVISION=faf4aa4225822f3bc6376869cb1164e8e3feedd0
# Domestic mirror used only to download the pinned model revision.
HF_ENDPOINT=https://hf-mirror.com
CHAT_EMBEDDING_CACHE_DIR=models/embedding
CHAT_EMBEDDING_THREADS=4
CHAT_EMBEDDING_MODEL_DIR=
# Optional OpenAI-compatible model provider examples.
# Configure real model providers in the app database/settings UI when possible.
# Do not commit real API keys.
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api.openai.com/v1
DEEPSEEK_API_KEY=
DEEPSEEK_BASE_URL=https://api.deepseek.com
# Optional: place an enabled model first so new UI tasks select it by default.
FASTREAD_DEFAULT_PROVIDER=
FASTREAD_DEFAULT_MODEL=