-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.template
More file actions
75 lines (63 loc) · 2.63 KB
/
env.template
File metadata and controls
75 lines (63 loc) · 2.63 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
# ArangoDB Connection Configuration
#
# This project uses a temporal multi-repo layout: a single ArangoDB database
# (ic-knowledge-graph-temporal) holds the temporal knowledge graph for
# multiple IC repos (OR1200, IBEX, MOR1KX, MAROCCHINO, etc.). Each repo's
# GraphRAG collections are namespaced with a prefix (e.g. OR1200_Entities).
# The shared temporal graph (IC_Temporal_Knowledge_Graph) spans all repos.
#
# Set ARANGO_MODE to either "LOCAL" or "REMOTE"
ARANGO_MODE=LOCAL
# Remote ArangoDB Configuration (used when ARANGO_MODE=REMOTE)
ARANGO_ENDPOINT=https://your-instance.arango.ai
ARANGO_USERNAME=root
ARANGO_PASSWORD=your_password
ARANGO_DATABASE=ic-knowledge-graph-temporal
# Local ArangoDB Configuration (used when ARANGO_MODE=LOCAL)
LOCAL_ARANGO_ENDPOINT=http://localhost:8530
LOCAL_ARANGO_USERNAME=root
LOCAL_ARANGO_PASSWORD=
LOCAL_ARANGO_DATABASE=ic-knowledge-graph-temporal
# Cluster / OneShard (Enterprise only): used by scripts/setup/create_oneshard_database.py
# when creating a new database. Leave unset for single-server or RF=1.
# ARANGO_REPLICATION_FACTOR=2
# ARANGO_WRITE_CONCERN=2
# GraphRAG Configuration
GRAPHRAG_PREFIX=OR1200_
# GraphRAG GenAI API Configuration
SERVER_URL=https://your-instance.arango.ai
OPENROUTER_API_KEY=your_openrouter_api_key
# Per-repo project name — change to match the IC repo being imported
# (e.g. or1200-knowledge-graph, ibex-knowledge-graph, mor1kx-knowledge-graph)
GRAPHRAG_PROJECT_NAME=or1200-knowledge-graph
# GraphRAG Service Configuration
GRAPHRAG_CHAT_MODEL=gpt-4o
GRAPHRAG_EMBEDDING_PROVIDER=openai
GRAPHRAG_CHUNK_TOKEN_SIZE=1200
GRAPHRAG_ENABLE_CHUNK_EMBEDDINGS=true
# Enable GraphRAG import in pipeline
RUN_GRAPHRAG=false
#
# Agentic graph analytics (agentic-graph-analytics)
#
# Notes:
# - For interactive HTML reports, ensure `plotly` is installed (and in requirements.txt).
# - If you are using self-managed Graph Analytics Engine (GRAL), routes may take ~30–90s
# to become ready after service creation; transient 404/503s during rollout can occur.
#
# JWT / credentials for long runs:
# - The workflow uses JWT tokens for GRAL. Tokens expire; agentic-graph-analytics auto-refreshes
# on 401. Ensure ARANGO_ENDPOINT, ARANGO_USER (or ARANGO_USERNAME), and ARANGO_PASSWORD are
# correct—refresh uses these base credentials.
#
# GAE: use self-managed (JWT) unless AMP keys are provided
GAE_DEPLOYMENT_MODE=self_managed
# LLM API keys (required for agentic workflow)
OPENROUTER_API_KEY=
OPENAI_API_KEY=
# IC analysis runner config
IC_GRAPH_NAME=IC_Temporal_Knowledge_Graph
IC_ANALYSIS_ENABLE_CATALOG=true
IC_ANALYSIS_PARALLELISM=false
IC_ANALYSIS_MAX_EXECUTIONS=10
IC_ANALYSIS_OUTPUT_DIR=ic_analysis_output