-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgraphflow.config.example.json
More file actions
97 lines (97 loc) · 2.57 KB
/
Copy pathgraphflow.config.example.json
File metadata and controls
97 lines (97 loc) · 2.57 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"providers": {
"openai": {
"apiKey": "${OPENAI_API_KEY}",
"baseUrl": "https://api.openai.com/v1"
},
"deepseek": {
"apiKey": "${DEEPSEEK_API_KEY}",
"baseUrl": "https://api.deepseek.com",
"thinking": "auto",
"reasoningEffort": "high",
"jsonMode": "auto",
"enableTools": true
},
"anthropic": {
"apiKey": "${ANTHROPIC_API_KEY}"
},
"bailian": {
"apiKey": "${BAILIAN_API_KEY}"
},
"doubao": {
"apiKey": "${DOUBAO_API_KEY}"
}
},
"tiers": {
"smart": { "provider": "deepseek", "model": "deepseek-v4-pro" },
"economy": { "provider": "deepseek", "model": "deepseek-v4-flash" }
},
"budgetPolicy": {
"runTokenCap": 4000
},
"graphPolicy": {
"enableAutoBuild": true,
"enableNearLosslessMode": true,
"autoIndexOnPreview": true,
"autoIndexOnRun": true,
"autoIndexOnSave": true,
"includeExtensions": [".ts", ".tsx", ".js", ".jsx", ".md", ".json", ".py", ".rs", ".go", ".c", ".h", ".cpp", ".cc", ".hpp", ".java", ".rb"],
"transport": "auto",
"graphStorePath": "graphflow-out/graphflow-graph.sqlite",
"maxContextTokens": 1500,
"layerQuota": { "l1": 6, "l2": 4, "l3": 3 },
"compression": {
"enableGraphCompression": true,
"enableAdaptiveBudget": true
}
},
"learningPolicy": {
"enableFlywheel": true,
"trainingCadence": "nightly",
"exportPath": "graphflow-out/learning-dataset.jsonl",
"eventsPath": "graphflow-out/learning-events.jsonl",
"summaryPath": "graphflow-out/learning-summary.json"
},
"routingPolicy": {
"enableDynamicRouting": true,
"requireApiKeyForHealthy": false,
"enableProviderTools": true,
"providerPriority": ["deepseek", "openai", "anthropic", "bailian", "doubao"]
},
"skillPolicy": {
"enableSkillFlywheel": true,
"maxSkillHints": 3
},
"embeddingPolicy": {
"enabled": true,
"provider": "transformers",
"model": "Xenova/bge-base-zh-v1.5",
"vectorStorePath": "graphflow-out/vectors.db",
"topK": 8,
"minSimilarity": 0.05
},
"efficiencyPolicy": {
"observations": {
"enabled": true,
"inlineThresholdBytes": 8192,
"headBytes": 2048,
"tailBytes": 1536,
"ttlDays": 14,
"redactOnStore": true,
"reduce": {
"enabled": true,
"strategy": "fingerprint",
"maxReceiptTokens": 400
}
},
"contextPressure": {
"enabled": true,
"maxContextTokens": "auto",
"cacheWriteReadRatio": 12.5,
"minSavingRatio": 0.2
},
"actionFusion": {
"enabled": true
}
}
}