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
74
75
76
# GraphRAG Quick Start Configuration
# Minimal configuration to get started with advanced features
= "output"
= 400
= 50
= "semantic"
# ============================================================================
# ENABLE KEY ADVANCED FEATURES
# ============================================================================
[]
= 0.5
= true
= true # Validate relationships for quality
[]
# Auto-enabled for conceptual queries - no config needed
[]
# All boosting enabled by default for better retrieval
= true
= true
= true
= true
[]
# Enable multi-step causal reasoning
= 0.3
= 5
= true
# ============================================================================
# BASIC CONFIGURATION
# ============================================================================
[]
= "nomic-embed-text"
= 768
= "http://localhost:11434"
[]
= 10
= 0.7
= true
[]
= 10
= "hybrid"
[]
= "http://localhost:11434"
= "llama3.2"
= "nomic-embed-text"
[]
= true
= 4
# ============================================================================
# NEXT STEPS
# ============================================================================
# 1. For hierarchical clustering, call:
# graph.build_relationship_hierarchy(3)?;
#
# 2. For weight optimization, use:
# let optimizer = GraphWeightOptimizer::new(config);
# optimizer.optimize_weights(&mut graph, &test_queries)?;
#
# 3. For atomic fact extraction, add:
# [entities]
# use_atomic_facts = true
#
# 4. See advanced-features.toml for full configuration options