forked from Al-aminI/GraphMem
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
78 lines (56 loc) · 2.5 KB
/
Copy pathenv.example
File metadata and controls
78 lines (56 loc) · 2.5 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
# GraphMem Go - Environment Variables
# Copy this file to .env and fill in your values
# =============================================================================
# LLM Providers (at least one required for full functionality)
# =============================================================================
# OpenAI - Primary LLM provider
OPENAI_API_KEY=sk-your-openai-api-key-here
# Azure OpenAI (optional)
AZURE_OPENAI_API_KEY=your-azure-api-key
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
AZURE_OPENAI_DEPLOYMENT=your-deployment-name
AZURE_OPENAI_API_VERSION=2024-12-01-preview
# Anthropic Claude (optional)
ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here
# Ollama (optional - for local LLM)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3.2
# OpenRouter (optional - multi-model gateway)
OPENROUTER_API_KEY=sk-or-your-openrouter-key-here
# Together AI (optional)
TOGETHER_API_KEY=your-together-api-key-here
# Groq (optional - fast inference)
GROQ_API_KEY=gsk_your-groq-key-here
# =============================================================================
# Embedding Providers (at least one required for semantic search)
# =============================================================================
# OpenAI Embeddings - Uses OPENAI_API_KEY above
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
# =============================================================================
# Storage Backends (optional - defaults to in-memory)
# =============================================================================
# Neo4j (optional - for persistent graph storage)
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=your-neo4j-password
# Redis (optional - for caching)
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
# Turso/LibSQL (optional - for SQLite-based storage)
TURSO_DATABASE_URL=libsql://your-db.turso.io
TURSO_AUTH_TOKEN=your-turso-auth-token
# Or use local file:
TURSO_LOCAL_PATH=./graphmem.db
# =============================================================================
# Test Configuration
# =============================================================================
# Set to "true" to run integration tests that require external services
RUN_INTEGRATION_TESTS=false
# Set to "true" to run tests that require LLM API calls (costs money)
RUN_LLM_TESTS=false
# Set to "true" to run tests that require Neo4j
RUN_NEO4J_TESTS=false
# Set to "true" to run tests that require Redis
RUN_REDIS_TESTS=false
# Set to "true" to run tests that require Turso
RUN_TURSO_TESTS=false