Skip to content

Commit 9fa754c

Browse files
committed
Update run configs
1 parent cab4dbd commit 9fa754c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

test_bco_rag.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@
1414
from bcorag.misc_functions import extract_repo_data, graceful_exit
1515
import os
1616

17+
VERBOSE = False
18+
1719
DOMAIN_PARAMS = {
18-
"usability": {"verbose": True, "async": False},
19-
"io": {"verbose": True, "async": False},
20-
"description": {"verbose": True, "async": False},
21-
"execution": {"verbose": True, "async": False},
22-
"parametric": {"verbose": True, "async": False},
23-
"error": {"verbose": True, "async": False},
20+
"usability": {"verbose": VERBOSE, "async": False},
21+
"io": {"verbose": VERBOSE, "async": False},
22+
"description": {"verbose": VERBOSE, "async": False},
23+
"execution": {"verbose": VERBOSE, "async": False},
24+
"parametric": {"verbose": VERBOSE, "async": False},
25+
"error": {"verbose": VERBOSE, "async": False},
2426
}
25-
THRESHOLD = 0.75
27+
THRESHOLD = 0.70
2628
STRIP_JSON = False
2729

2830

@@ -64,9 +66,9 @@ def setup_bcorag() -> BcoRag:
6466
"High resolution measurement.pdf",
6567
),
6668
vector_store="VectorStoreIndex",
67-
loader="SimpleDirectoryReader",
68-
mode="debug",
69-
similarity_top_k=5,
69+
loader="PDFReader",
70+
mode="production",
71+
similarity_top_k=8,
7072
chunking_config="1024 chunk size/20 chunk overlap",
7173
git_data=git_data,
7274
other_docs=None,

0 commit comments

Comments
 (0)