-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.example.json
More file actions
92 lines (92 loc) · 1.69 KB
/
settings.example.json
File metadata and controls
92 lines (92 loc) · 1.69 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
{
"_comment": "Copy this file to settings.json and modify as needed",
"LLM_model": {
"api_key": "",
"api_type": "gemini",
"local_path": "",
"model_type": "auto",
"device": "auto"
},
"api_settings": {
"temperature": 0.6,
"top_p": 1.0,
"max_output_tokens": 5000
},
"paths": {
"output_dir": "output"
},
"query": {
"top_k_results": 5,
"use_spellcheck": false,
"sub_question_count": 0
},
"context": {
"context_hops": 1,
"max_neighbors": 5,
"bidirectional": true,
"outbound_weight": 1.0,
"inbound_weight": 1.0
},
"extraction": {
"allowed_extensions": [
".py",
".js",
".ts",
".tsx",
".mjs",
".cjs",
".json",
".yaml",
".yml",
".md",
".txt",
".css",
".scss",
".less",
".vue",
".svelte",
".svg",
".html",
".htm"
],
"exclude_dirs": [
"__pycache__",
".git",
"node_modules",
".venv",
"venv",
"dist",
"build",
".idea",
".vscode",
".pytest_cache"
],
"comment_lookback_lines": 3,
"token_estimate_ratio": 0.75,
"minified_js_detection": {
"max_lines_to_check": 50,
"single_line_threshold": 2000,
"required_long_lines": 2
}
},
"visualization": {
"figsize": [
12,
10
],
"spring_layout_k": 0.5,
"spring_layout_iterations": 20,
"node_size": 1500,
"font_size": 8,
"node_color": "skyblue",
"auto_visualize": false
},
"embedding": {
"encoder_model_path": ""
},
"logging": {
"log_markdown": true,
"log_json": true,
"max_functions_to_log": 100
}
}