-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.env
More file actions
59 lines (48 loc) · 1.6 KB
/
example.env
File metadata and controls
59 lines (48 loc) · 1.6 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
# Semem Environment Configuration
SEMEM_API_KEY=your-api-key
NODE_ENV=production
# Server Configuration
PORT=3000
LOG_LEVEL=info
NODE_ENV=development
# API Authentication
SEMEM_API_KEY=semem-dev-key
# LLM Provider API Keys
OLLAMA_API_KEY=NO_KEY_REQUIRED
OPENAI_API_KEY=
CLAUDE_API_KEY=your_claude_key
MISTRAL_API_KEY=
GROQ_API_KEY=your_groq_key
PERPLEXITY_API_KEY=your_perplexity_key
HUGGINGFACE_API_KEY=your_huggingface_key
NOMIC_API_KEY=
# API Base URLs (endpoints)
CLAUDE_API_BASE=https://api.anthropic.com
CLAUDE_MODEL=claude-3-opus-20240229
OLLAMA_API_BASE=http://localhost:11434
OLLAMA_HOST=http://localhost:11434
# Model Configuration
EMBEDDING_MODEL=nomic-embed-text # Ollama embedding model
EMBEDDING_DIMENSION=1536 # Default embedding dimension
CHAT_MODEL=qwen2:1.5b # Default Ollama chat model
# Claude Example Configuration
MEMORY_JSON_PATH=data/memory.json # Path to memory storage
MAX_TOKENS=8192 # Max tokens for context window
OPERATION_TIMEOUT=60000 # Timeout in ms (60 seconds)
TEST_PROMPT="What's the current state of AI technology?" # Test prompt for example
CUSTOM_CONCEPTS=AI,technology,current state # Custom concepts for memory
# SPARQL Configuration
SPARQL_HOST=localhost
SPARQL_PORT=3030
SPARQL_QUERY_ENDPOINT=http://localhost:3030/semem/query
SPARQL_UPDATE_ENDPOINT=http://localhost:3030/semem/update
SPARQL_GRAPH_NAME=http://example.org/semem
SPARQL_USER=admin
SPARQL_PASSWORD=admin123
# Cache Configuration
CACHE_ENABLED=true
CACHE_TTL=3600000 # 1 hour in milliseconds
# Feature Flags
ENABLE_WEBSOCKET=true
# Test settings
TEST_TIMEOUT=10000