-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (52 loc) · 2.55 KB
/
.env.example
File metadata and controls
73 lines (52 loc) · 2.55 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
# Asset-Aware MCP Configuration
# Copy this file to .env and update values as needed
# =============================================================================
# Paths
# =============================================================================
# Directory for storing processed documents
DATA_DIR=./data
# =============================================================================
# LLM Backend Selection
# =============================================================================
# LLM backend: 'ollama' (local, recommended) or 'openai'
LLM_BACKEND=ollama
# =============================================================================
# Ollama Settings (Local LLM - Recommended)
# =============================================================================
# Ollama server URL (default: http://localhost:11434)
OLLAMA_HOST=http://localhost:11434
# Ollama model for LLM tasks (recommended: qwen2.5:7b, llama3.1:8b)
OLLAMA_MODEL=qwen2.5:7b
# Ollama model for embeddings (recommended: nomic-embed-text)
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
# =============================================================================
# OpenAI Settings (Optional - only if LLM_BACKEND=openai)
# =============================================================================
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# OpenAI embedding model
LIGHTRAG_EMBEDDING_MODEL=text-embedding-3-small
# =============================================================================
# Mistral API (Optional - for OCR)
# =============================================================================
# Get your API key from: https://console.mistral.ai/
MISTRAL_API_KEY=
# =============================================================================
# LightRAG Settings
# =============================================================================
# LightRAG working directory for knowledge graph storage
LIGHTRAG_WORKING_DIR=./data/lightrag_db
# =============================================================================
# Feature Flags
# =============================================================================
# Enable LightRAG knowledge graph
ENABLE_LIGHTRAG=true
# Enable Mistral OCR (requires MISTRAL_API_KEY)
ENABLE_MISTRAL_OCR=false
# =============================================================================
# Processing Settings
# =============================================================================
# Maximum image size in MB to process
MAX_IMAGE_SIZE_MB=10.0
# Output format for extracted images (png, jpg)
IMAGE_OUTPUT_FORMAT=png