-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
78 lines (62 loc) · 2.32 KB
/
.env.example
File metadata and controls
78 lines (62 loc) · 2.32 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
# Example environment variables for SciDK
# ------------------------------
# SciDK application settings
# ------------------------------
# Host/port for the Flask development server
SCIDK_HOST=127.0.0.1
SCIDK_PORT=5000
# 1 to enable Flask debug mode during local development
SCIDK_DEBUG=1
# ------------------------------
# Neo4j connection
# ------------------------------
# Bolt URI for Neo4j
NEO4J_URI=bolt://localhost:7687
# Username for Neo4j
NEO4J_USER=neo4j
# Password for Neo4j
NEO4J_PASSWORD=neo4j
# Convenience variable used by docker-compose.neo4j.yml
# Format: <user>/<password> (set this BEFORE first start to choose your password)
NEO4J_AUTH=neo4j/neo4jpassword
# ------------------------------
# Neo4j tuning (containers)
# ------------------------------
NEO4J_HEAP_INIT=1G
NEO4J_HEAP_MAX=2G
# ------------------------------
# GraphRAG / ChatSEEK Integration
# ------------------------------
# Enable GraphRAG features (set to 1 to enable)
# REQUIRES: pip install -r requirements-graphrag.txt
# (installs PyTorch + CUDA stack, 4-8GB download)
# Lightweight install: pip install -r requirements.txt (chat disabled)
SCIDK_GRAPHRAG_ENABLED=0
# LLM provider: "local_ollama" (default), "openai", or "azure_openai"
SCIDK_GRAPHRAG_LLM_PROVIDER=local_ollama
# Ollama model name (default: llama3:8b)
SCIDK_GRAPHRAG_MODEL=llama3:8b
# Schema cache TTL in seconds (default: 300)
SCIDK_GRAPHRAG_SCHEMA_CACHE_TTL_SEC=300
# Verbose mode: include extracted entities and Cypher in responses (0 or 1)
SCIDK_GRAPHRAG_VERBOSE=0
# Query library path for curated Cypher examples (Sprint 1)
SCIDK_QUERY_LIBRARY_PATH=query_library/scidk_queries.yaml
# Privacy filters (comma-separated, optional)
SCIDK_GRAPHRAG_ALLOW_LABELS=
SCIDK_GRAPHRAG_DENY_LABELS=
SCIDK_GRAPHRAG_EXCLUDE_PROPERTIES=
# ------------------------------
# Chat Provider Settings (for reasoning path)
# ------------------------------
# Chat LLM provider: "ollama" (default), "anthropic", "openai"
SCIDK_CHAT_LLM_PROVIDER=ollama
# Ollama settings
SCIDK_CHAT_OLLAMA_ENDPOINT=http://localhost:11434
SCIDK_CHAT_OLLAMA_MODEL=llama3.1:8b
# Claude settings (optional, for reasoning path)
SCIDK_CHAT_CLAUDE_API_KEY=
# OpenAI settings (optional, for reasoning path)
SCIDK_CHAT_OPENAI_API_KEY=
# Anthropic key for entity extraction (optional, falls back to pattern matching)
SCIDK_ANTHROPIC_API_KEY=