MHamdan's picture
Deploy Research-Link-AI (Docker Space, offline demo)
a753e74 verified
Raw
History Blame Contribute Delete
1.1 kB
# Hugging Face Space configuration reference.
# Set these under Space β†’ Settings β†’ "Variables and secrets".
# NONE are required for the default offline demo.
# ── Variables (non-sensitive) ────────────────────────────────────────────────
RESEARCHLINK_LLM_MODE=offline # offline | anthropic | openai | openrouter | ollama | custom
RESEARCHLINK_LLM_MODEL=researchlink-local
RESEARCHLINK_LLM_TEMPERATURE=0.2
RESEARCHLINK_LLM_MAX_TOKENS=4096
# Fully air-gapped demo (no outbound network at all):
# RESEARCHLINK_OFFLINE=true
# Persist generated papers (requires attached HF persistent storage):
# RESEARCHLINK_OUTPUT_DIR=/data/papers
# Server (already set by the Dockerfile; override only if needed):
# RESEARCHLINK_BIND_HOST=0.0.0.0
# RESEARCHLINK_BACKEND_PORT=7860
# ── Secrets (sensitive; only for the matching LLM mode) ───────────────────────
# ANTHROPIC_API_KEY=
# OPENAI_API_KEY=
# OPENROUTER_API_KEY=
# RESEARCHLINK_UNPAYWALL_EMAIL=