-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
53 lines (44 loc) · 1.76 KB
/
Copy path.env.example
File metadata and controls
53 lines (44 loc) · 1.76 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
# Neo4j Database Configuration
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=your_password
# Project Configuration
PROJECT_ISOLATION_STRATEGY=shared_db
DEFAULT_PROJECT_ID=default
CROSS_PROJECT_ANALYSIS=false
MAX_PROJECTS_SHARED_DB=100
# Semantic Search Configuration
# Options: openai, ollama, disabled
SEMANTIC_SEARCH_PROVIDER=openai
# ============================================
# OPENAI PROVIDER CONFIGURATION
# ============================================
# Required if SEMANTIC_SEARCH_PROVIDER=openai
OPENAI_API_KEY=sk-your-openai-api-key-here
# Optional: Custom OpenAI API base URL (for LLM Studio, Azure OpenAI, etc.)
# OPENAI_BASE_URL=http://localhost:1234/v1
# ============================================
# OLLAMA PROVIDER CONFIGURATION
# ============================================
# Required if SEMANTIC_SEARCH_PROVIDER=ollama
# OLLAMA_BASE_URL=http://localhost:11434
# ============================================
# UNIFIED MODEL CONFIGURATION
# ============================================
# Model name - auto-detected defaults based on provider:
# OpenAI: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002
# Ollama: nomic-embed-text, mxbai-embed-large
EMBEDDING_MODEL=text-embedding-3-small
# Optional: Override default dimensions (auto-detected based on model and provider)
# OpenAI text-embedding-3-small: 1536, text-embedding-3-large: 3072
# Ollama nomic-embed-text: 768, mxbai-embed-large: 1024
# EMBEDDING_DIMENSIONS=1536
# ============================================
# PROCESSING CONFIGURATION
# ============================================
EMBEDDING_MAX_TOKENS=8000
EMBEDDING_BATCH_SIZE=100
SIMILARITY_THRESHOLD=0.7
# MCP Response Configuration
# Maximum tokens for MCP tool responses (default: 10000)
MCP_TOKEN_LIMIT=10000