-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (62 loc) · 4.9 KB
/
Copy path.env.example
File metadata and controls
73 lines (62 loc) · 4.9 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
# ═══════════════════════════════════════════════════════════════════════════════
# MCP Doc Builder - Environment Configuration
# ═══════════════════════════════════════════════════════════════════════════════
# Copy this file to .env and fill in your values
# Run 'doc-mcp-setup' for interactive configuration
# ─────────────────────────────────────────────────────────────────────────────────
# Neo4j Database
# ─────────────────────────────────────────────────────────────────────────────────
# Local Docker (default)
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password123
# Or Neo4j Aura (cloud)
# NEO4J_URI=neo4j+s://xxxxxxxx.databases.neo4j.io
# NEO4J_USERNAME=neo4j
# NEO4J_PASSWORD=your-aura-password
# ─────────────────────────────────────────────────────────────────────────────────
# LLM Configuration
# ─────────────────────────────────────────────────────────────────────────────────
# Mode: "gemini_direct", "litellm", or "both"
LLM_MODE=litellm
LLM_PRIMARY=litellm
# Option 1: Gemini Direct (AI Studio)
# GEMINI_API_KEY=your-gemini-api-key
# GEMINI_MODEL=gemini-2.5-flash
# Option 2: LiteLLM Gateway (recommended for enterprise)
LITELLM_BASE_URL=https://your-litellm-gateway.com/
LITELLM_API_KEY=your-litellm-api-key
LITELLM_MODEL=gemini-2.5-flash
# Embedding model (Gemini text-embedding-004)
EMBEDDING_MODEL=text-embedding-004
EMBEDDING_DIMENSIONS=768
# Task-specific models (optional, falls back to default)
# DOC_MODEL_FAST=gemini-1.5-flash # Fast model for link evaluation
# DOC_MODEL_REASON=gemini-2.5-pro # Reasoning model for ontology
# ─────────────────────────────────────────────────────────────────────────────────
# Crawler Configuration
# ─────────────────────────────────────────────────────────────────────────────────
CRAWLER_MAX_DEPTH=2
CRAWLER_RATE_LIMIT=1.0
CRAWLER_MAX_CONCURRENT=5
CRAWLER_TIMEOUT=30
CRAWLER_MAX_PAGES=500
# CRAWLER_USER_AGENT=DocBuilderBot/1.0
# ─────────────────────────────────────────────────────────────────────────────────
# Vector Configuration
# ─────────────────────────────────────────────────────────────────────────────────
VECTOR_CHUNK_SIZE=800
VECTOR_CHUNK_OVERLAP=100
VECTOR_SIMILARITY_THRESHOLD=0.7
# VECTOR_INDEX_NAME=doc_chunk_embeddings
# ─────────────────────────────────────────────────────────────────────────────────
# Server Configuration
# ─────────────────────────────────────────────────────────────────────────────────
MCP_HOST=127.0.0.1
MCP_PORT=8001
LOG_LEVEL=INFO
# ─────────────────────────────────────────────────────────────────────────────────
# Security (optional)
# ─────────────────────────────────────────────────────────────────────────────────
# DOC_MCP_TOKEN=your-secure-token
# DOC_ALLOWED_ORIGINS=localhost,127.0.0.1