-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
112 lines (100 loc) · 5.27 KB
/
Copy path.env.example
File metadata and controls
112 lines (100 loc) · 5.27 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Defaults live in deepgraph.toml. Put machine-local overrides and secrets here.
DEEPGRAPH_APP_NAME=DeepGraph
DEEPGRAPH_PROFILE=machine_learning
# Switch to a broader science tree:
# DEEPGRAPH_PROFILE=open_science
DEEPGRAPH_ROOT_NODE_ID=ml
# For open science:
# DEEPGRAPH_ROOT_NODE_ID=science
DEEPGRAPH_LLM_BASE_URL=https://api.tabcode.cc/openai
DEEPGRAPH_LLM_API_KEY=
DEEPGRAPH_LLM_MODEL=gpt-5.4
# Optional: more OpenAI-compatible routes beyond primary/secondary.
# DEEPGRAPH_LLM_EXTRA_PROVIDERS_JSON=[{"name":"route2","base_url":"https://provider.example/v1","api_key":"sk-...","model":"glm-5.1","protocol":"chat_completions","rpm":20}]
# Optional LLM stability knobs for flaky providers / gateways:
# DEEPGRAPH_LLM_CONNECT_TIMEOUT_SECONDS=30
# DEEPGRAPH_LLM_REQUEST_TIMEOUT_SECONDS=300
# DEEPGRAPH_LLM_TRANSIENT_RETRIES=2
# DEEPGRAPH_LLM_TRANSIENT_BACKOFF_SECONDS=5
# DEEPGRAPH_LLM_TRANSIENT_COOLDOWN_SECONDS=180
DEEPGRAPH_WEB_HOST=0.0.0.0
DEEPGRAPH_WEB_PORT=8080
DEEPGRAPH_PIPELINE_CONCURRENCY=4
DEEPGRAPH_ARXIV_MAX_RESULTS_PER_QUERY=100
DEEPGRAPH_BACKFILL_GRAPH_ON_START=true
DEEPGRAPH_REFRESH_MERGE_CANDIDATES_ON_START=true
DEEPGRAPH_PAPER_CLUSTER_MIN_PAPERS=10
# Optional single-process automation. Enable when you are not already running
# scripts/run_pipeline_forever.sh or another external processor.
# DEEPGRAPH_AUTO_PIPELINE_ENABLED=true
# DEEPGRAPH_AUTO_PIPELINE_BATCH_SIZE=100
# DEEPGRAPH_AUTO_PIPELINE_INTERVAL_SECONDS=120
# DEEPGRAPH_AUTO_RESEARCH_ENABLED=true
# DEEPGRAPH_GPU_WORKER_SLOTS=1
# DEEPGRAPH_GPU_VISIBLE_DEVICES=0
# DEEPGRAPH_GPU_DEFAULT_MODEL=NVIDIA GeForce RTX 5070
# DEEPGRAPH_GPU_DEFAULT_VRAM_GB=12
# Dual-card example:
# DEEPGRAPH_GPU_VISIBLE_DEVICES=0,1
# DEEPGRAPH_GPU_DEFAULT_MODEL=NVIDIA L40S
# DEEPGRAPH_GPU_DEFAULT_VRAM_GB=46
# Formal benchmark runtime overrides:
# DEEPGRAPH_BENCHMARK_MODEL=Qwen/Qwen2.5-14B-Instruct
# DEEPGRAPH_BENCHMARK_MAX_EXAMPLES=128
# DEEPGRAPH_BENCHMARK_SEEDS=5
# DEEPGRAPH_ALLOW_SMOKE_EXPERIMENT_VALIDATION=false
# GROBID PDF parsing (docker compose -f docker-compose.grobid.yml up -d)
# DEEPGRAPH_GROBID_URL=http://127.0.0.1:8070
# DEEPGRAPH_GROBID_TIMEOUT=300
# auto | grobid | pymupdf
# DEEPGRAPH_PDF_TEXT_BACKEND=auto
# Insight provenance / A-B testing prompts (bump when prompts change)
# DEEPGRAPH_PROMPT_VERSION=insight_v1
# Optional override for discovery categories:
# DEEPGRAPH_ARXIV_CATEGORIES=cs.AI,cs.LG,cs.CL,cs.CV,stat.ML
# Legacy SQLite only (local/testing): DEEPGRAPH_DB_PATH=./deepgraph.db
# Production runtime should set PostgreSQL + pgvector (schema: db/schema_postgres.sql, init: python -m db.pg_init):
# docker compose -f docker-compose.postgres.yml up -d
# DEEPGRAPH_DATABASE_URL=postgresql://deepgraph:deepgraph@127.0.0.1:5433/deepgraph
# Data copy: DEEPGRAPH_DATABASE_URL=... python scripts/migrate_sqlite_to_postgres.py
# Fixed idea workspace root for experiment/plan/paper partitions:
# DEEPGRAPH_IDEA_WORKSPACE_DIR=/data/deepgraph_ideas
# Manuscript: paper_orchestra (default, recommended) | legacy single-pass
DEEPGRAPH_MANUSCRIPT_BACKEND=paper_orchestra
# PaperOrchestra / literature verification — optional but lowers S2 throttling:
# DEEPGRAPH_SEMANTIC_SCHOLAR_API_KEY=
# Optional: enable PaperBanana for framework / motivation diagrams generated by PaperOrchestra.
# By default the wrapper reuses DeepGraph's main LLM as PaperBanana's text model.
# Optional override:
# DEEPGRAPH_PAPERBANANA_MAIN_MODEL=gpt-5.4
# DEEPGRAPH_PAPERBANANA_TEXT_BASE_URL=https://your-text-provider.example/v1
# DEEPGRAPH_PAPERBANANA_TEXT_API_KEY=sk-...
#
# POST motivation/overview figures (required for conference bundles):
# Use gemini_native + generateContent on your gateway (e.g. new.suxi.ai).
# Model id on suxi gateway: gemini-3-pro-image-preview (NOT gemini-3.0-pro-image-preview)
# DEEPGRAPH_PAPERBANANA_IMAGE_PROTOCOL=gemini_native
# DEEPGRAPH_PAPERBANANA_IMAGE_BASE_URL=https://new.suxi.ai
# DEEPGRAPH_PAPERBANANA_IMAGE_API_KEY=sk-...
# DEEPGRAPH_PAPERBANANA_IMAGE_MODEL=gemini-3-pro-image-preview
# DEEPGRAPH_PAPERBANANA_IMAGE_ATTEMPTS=5
# DEEPGRAPH_PAPERBANANA_IMAGE_RETRY_BACKOFF_SECONDS=20
# DEEPGRAPH_PAPERBANANA_FIGURE_RETRIES=4
# DEEPGRAPH_PAPERBANANA_INTER_FIGURE_DELAY_SECONDS=30
# DEEPGRAPH_PAPERBANANA_MIN_PNG_BYTES=500000
# DEEPGRAPH_PAPERBANANA_ENABLE_POSTWRITE=true
# DEEPGRAPH_PAPERBANANA_CMD=python3 /root/Deepgraph-main/scripts/paperbanana_wrapper.py --out {output} --spec {spec}
#
# OpenAI-compatible /images/generations (only if your gateway lists the model there):
# DEEPGRAPH_PAPERBANANA_IMAGE_PROTOCOL=openai_compatible
# DEEPGRAPH_PAPERBANANA_IMAGE_BASE_URL=https://your-image-provider.example/v1
# DEEPGRAPH_PAPERBANANA_IMAGE_MODEL=gemini-3-pro-image-preview
# OPENROUTER_API_KEY=sk-or-v1-...
# GOOGLE_API_KEY=your-google-key
# DEEPGRAPH_PAPERBANANA_CMD=/home/billion-token/Deepgraph/scripts/paperbanana_wrapper.py --out {output} --spec {spec}
# Baseline reproduction (SciForge Phase 1): auto-repair rounds when the run crashes or emits no metric.
# Uses Codex CLI if available; otherwise falls back to main LLM JSON file patches. Set 0 to disable (legacy behavior).
# DEEPGRAPH_REPRODUCTION_REPAIR_MAX_ROUNDS=8
# When true: novelty must be 'novel', EvoSci must be installed, and evoscientist_workdir/final_report.md
# must exist before experiment forge / SciForge validation (auto_research respects the same gates).
# DEEPGRAPH_REQUIRE_EVOSCIENTIST_FOR_EXPERIMENTS=true