-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecortex.yaml
More file actions
37 lines (31 loc) · 964 Bytes
/
codecortex.yaml
File metadata and controls
37 lines (31 loc) · 964 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
codecortex:
# Traversal
bfs_depth: 3
max_nodes_per_query: 500
# Graph construction
enable_cpg: true # include CFG/DFG/endpoint detection
enable_embeddings: true # build FAISS embedding index
enable_clustering: true # HDBSCAN semantic clustering
centrality_ranking: true # weight retrieval by PageRank/betweenness
# Hybrid two-tier mode:
# Set true to skip CFG/DFG at build time and expand lazily per query.
on_demand_cfg: false
on_demand_dfg: false
# Embedding provider: stub | local | openai
embedding_backend: stub
embedding_dimensions: 384
# Clustering
min_cluster_size: 5
# Retrieval
retrieval_top_k: 20
token_budget: 4000
min_semantic_score: 0.0
# Paths to exclude from indexing.
# Prevents vendor/, node_modules/, and generated directories from
# polluting the graph with third-party code.
exclude_paths:
- vendor
- node_modules
- storage
- bootstrap/cache
- .git