JackSparrow89 commited on
Commit
3dd5c95
·
verified ·
1 Parent(s): 2d47322

Update config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +42 -41
config.yaml CHANGED
@@ -1,42 +1,43 @@
1
- # Directories to index
2
- watch_paths:
3
- - ./data/scifact
4
- - ./data/nfcorpus #modify this
5
-
6
- # File extensions to include
7
- include_extensions:
8
- - ".pdf"
9
- - ".docx"
10
- - ".txt"
11
- - ".md"
12
- - ".pptx"
13
- - ".xlsx"
14
- - ".py"
15
- - ".js"
16
- - ".ipynb"
17
-
18
-
19
- # --- Add these ---
20
- top_k: 5 # final results returned to user
21
- candidate_k: 20 # candidates fetched before reranking
22
-
23
- query_expansion: true # WordNet synonym expansion
24
- max_synonyms: 5 # max synonyms to append
25
-
26
- reranking_enabled: true # cross-encoder reranking
27
- reranker_model: "cross-encoder/ms-marco-MiniLM-L-6-v2"
28
-
29
- # Directories to skip
30
- skip_directories:
31
- - ".git"
32
- - "node_modules"
33
- - "__pycache__"
34
- - ".venv"
35
-
36
- # Where to store index data
37
- data_dir: "./data"
38
-
39
- embedding_model: "all-MiniLM-L6-v2"
40
- # embedding_model: BAAI/bge-small-en-v1.5
41
-
 
42
  debounce_seconds: 5
 
1
+ # Directories to index
2
+ watch_paths:
3
+ - ./data/scifact
4
+ - ./data/nfcorpus
5
+ data_dir: "/data" # persistent volume, not ./data
6
+
7
+ # File extensions to include
8
+ include_extensions:
9
+ - ".pdf"
10
+ - ".docx"
11
+ - ".txt"
12
+ - ".md"
13
+ - ".pptx"
14
+ - ".xlsx"
15
+ - ".py"
16
+ - ".js"
17
+ - ".ipynb"
18
+
19
+
20
+ # --- Add these ---
21
+ top_k: 5 # final results returned to user
22
+ candidate_k: 20 # candidates fetched before reranking
23
+
24
+ query_expansion: true # WordNet synonym expansion
25
+ max_synonyms: 5 # max synonyms to append
26
+
27
+ reranking_enabled: true # cross-encoder reranking
28
+ reranker_model: "cross-encoder/ms-marco-MiniLM-L-6-v2"
29
+
30
+ # Directories to skip
31
+ skip_directories:
32
+ - ".git"
33
+ - "node_modules"
34
+ - "__pycache__"
35
+ - ".venv"
36
+
37
+ # Where to store index data
38
+ data_dir: "./data"
39
+
40
+ embedding_model: "all-MiniLM-L6-v2"
41
+ # embedding_model: BAAI/bge-small-en-v1.5
42
+
43
  debounce_seconds: 5