-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
54 lines (45 loc) · 927 Bytes
/
config.yaml
File metadata and controls
54 lines (45 loc) · 927 Bytes
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
# CodeBERT Indexer Configuration
# Model settings
model:
name: "microsoft/codebert-base"
max_length: 512
batch_size: 8
# Scanning settings
scanning:
exclude_dirs:
- ".git"
- "node_modules"
- "__pycache__"
- ".venv"
- "venv"
- "target"
- "build"
- "dist"
- ".next"
- "coverage"
- ".pytest_cache"
max_file_size: 1048576 # 1MB in bytes
supported_languages:
python:
extensions: [".py"]
exclude_files: ["__init__.py"]
java:
extensions: [".java"]
exclude_files: []
javascript:
extensions: [".js", ".jsx", ".ts", ".tsx"]
exclude_files: []
# Output settings
output:
index_dir: "./code_index"
save_embeddings: true
save_metadata: true
compression: true
# Search settings
search:
default_top_k: 5
similarity_threshold: 0.1
# Logging
logging:
level: "INFO"
format: "%(asctime)s - %(levelname)s - %(message)s"