-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
117 lines (87 loc) · 3.62 KB
/
env.example
File metadata and controls
117 lines (87 loc) · 3.62 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
113
114
115
# Pale Fire Configuration
# Copy this file to .env and update with your values
# ============================================================================
# Neo4j Configuration (REQUIRED)
# ============================================================================
NEO4J_URI=bolt://10.147.18.253:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=password
# ============================================================================
# LLM Configuration
# ============================================================================
# OpenAI API Key (required by Graphiti, can be placeholder for Ollama)
OPENAI_API_KEY=your-api-key-here
# LLM Provider: 'ollama' or 'openai'
LLM_PROVIDER=ollama
# Ollama Configuration
OLLAMA_BASE_URL=http://10.147.18.253:11434/v1
OLLAMA_MODEL=deepseek-r1:7b
OLLAMA_SMALL_MODEL=deepseek-r1:7b
OLLAMA_VERIFICATION_MODEL=llama3,gemma3:4b,gpt-oss:latest
OLLAMA_VERIFICATION_TIMEOUT=300
OLLAMA_API_KEY=ollama
# OpenAI Configuration (if using OpenAI provider)
# OPENAI_BASE_URL=https://api.openai.com/v1
# OPENAI_MODEL=gpt-4
# OPENAI_SMALL_MODEL=gpt-3.5-turbo
# ============================================================================
# Embedder Configuration
# ============================================================================
EMBEDDER_PROVIDER=ollama
# Ollama Embedder
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
OLLAMA_EMBEDDING_DIM=768
OLLAMA_EMBEDDING_BASE_URL=http://10.147.18.253:11434/v1
# OpenAI Embedder (if using OpenAI provider)
# OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
# OPENAI_EMBEDDING_DIM=1536
# ============================================================================
# Search Configuration
# ============================================================================
# Default search method: 'standard', 'connection', 'question-aware'
DEFAULT_SEARCH_METHOD=question-aware
# Search result limits
SEARCH_RESULT_LIMIT=20
SEARCH_TOP_K=5
# Ranking weights (must sum to <= 1.0)
# Semantic weight is calculated as: 1.0 - sum(other weights)
WEIGHT_CONNECTION=0.15
WEIGHT_TEMPORAL=0.20
WEIGHT_QUERY_MATCH=0.20
WEIGHT_ENTITY_TYPE=0.15
# ============================================================================
# NER Configuration
# ============================================================================
# Enable NER enrichment by default
NER_ENABLED=true
# Use spaCy if available, otherwise fall back to pattern-based
NER_USE_SPACY=true
# spaCy model name
SPACY_MODEL=en_core_web_sm
# ============================================================================
# Logging Configuration
# ============================================================================
LOG_LEVEL=INFO
# LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
# LOG_DATE_FORMAT=%Y-%m-%d %H:%M:%S
# ============================================================================
# Application Configuration
# ============================================================================
# Episode naming prefix
EPISODE_NAME_PREFIX=Episode
# Reference time for episodes (use current time if not specified)
USE_CURRENT_TIME=true
# ============================================================================
# Ghostwriter Configuration
# ============================================================================
# Qdrant Vector Database
QDRANT_HOST=localhost
QDRANT_PORT=6333
# QDRANT_CONTAINER=qdrant # Optional: Container name if running in Docker network
# Ghostwriter Service (for UI/API links)
GHOSTWRITER_UI_CONTAINER=ghostwriter
GHOSTWRITER_UI_PORT=8501
GHOSTWRITER_API_CONTAINER=ghostwriter_api
GHOSTWRITER_API_PORT=8000
# Ollama Host (Specific to Ghostwriter if different from base URL)
# OLLAMA_HOST=http://localhost:11434/v1