LightRAG/docs
Claude 0a48c633cd
Add Schema-Driven Configuration Pattern
Implement comprehensive configuration management system with:

**Core Components:**
- config/config.schema.yaml: Configuration metadata (single source of truth)
- scripts/lib/generate_from_schema.py: Schema → local.yaml generator
- scripts/lib/generate_env.py: local.yaml → .env converter
- scripts/setup.sh: One-click configuration initialization

**Key Features:**
- Deep merge logic preserves existing values
- Auto-generation of secrets (32-char random strings)
- Type inference for configuration values
- Nested YAML → flat environment variables
- Git-safe: local.yaml and .env excluded from version control

**Configuration Coverage:**
- Trilingual entity extractor (Chinese/English/Swedish)
- LightRAG API, database, vector DB settings
- LLM provider configuration
- Entity/relation extraction settings
- Security and performance tuning

**Documentation:**
- docs/ConfigurationGuide-zh.md: Complete usage guide with examples

**Usage:**
```bash
./scripts/setup.sh  # Generate config/local.yaml and .env
```

This enables centralized configuration management with automatic
secret generation and safe handling of sensitive data.
2025-11-19 19:33:13 +00:00
..
Algorithm.md Create Algorithm.md 2025-01-24 21:19:04 +01:00
ConfigurationGuide-zh.md Add Schema-Driven Configuration Pattern 2025-11-19 19:33:13 +00:00
DockerDeployment.md Add BuildKit cache mounts to optimize Docker build performance 2025-11-03 12:40:30 +08:00
EvaluatingEntityRelationQuality-zh.md Add comprehensive entity/relation extraction quality evaluation guide 2025-11-19 12:45:31 +00:00
FrontendBuildGuide.md Use frozen lockfile for consistent frontend builds 2025-10-14 03:34:55 +08:00
HanLPvsGLiNER-zh.md Add detailed comparison: HanLP vs GLiNER for Chinese entity extraction 2025-11-19 16:16:00 +00:00
LightRAG_concurrent_explain.md Update README 2025-07-27 17:26:49 +08:00
MultilingualNER-Comparison-zh.md Add comprehensive multilingual NER tools comparison guide 2025-11-19 16:34:37 +00:00
OfflineDeployment.md refactor: move document deps to api group, remove dynamic imports 2025-11-13 13:34:09 +08:00
PerformanceFAQ-zh.md Add comprehensive performance FAQ addressing max_async, LLM selection, and database optimization 2025-11-19 10:21:58 +00:00
PerformanceOptimization-zh.md Add performance optimization guide and configuration for LightRAG indexing 2025-11-19 09:55:28 +00:00
PerformanceOptimization.md Add performance optimization guide and configuration for LightRAG indexing 2025-11-19 09:55:28 +00:00
RAGEvaluationMethodsComparison-zh.md Add comprehensive comparison of RAG evaluation methods 2025-11-19 13:36:56 +00:00
SelfHostedOptimization-zh.md Add comprehensive self-hosted LLM optimization guide for LightRAG 2025-11-19 10:53:48 +00:00
TrilingualNER-Usage-zh.md Add trilingual entity extractor (Chinese/English/Swedish) 2025-11-19 17:29:00 +00:00
UV_LOCK_GUIDE.md Migrate Dockerfile from pip to uv package manager for faster builds 2025-10-16 01:54:20 +08:00
WhatIsGleaning-zh.md Add comprehensive guide explaining gleaning concept in LightRAG 2025-11-19 11:45:07 +00:00
WhatIsRAGAS-zh.md Add comprehensive RAGAS evaluation framework guide 2025-11-19 12:52:22 +00:00