diff options
| author | CHEN SHENGYUAN <chenshengyuan@CHENdeMacBook-Air.local> | 2025-12-18 15:35:33 +0800 |
|---|---|---|
| committer | CHEN SHENGYUAN <chenshengyuan@CHENdeMacBook-Air.local> | 2025-12-18 15:35:33 +0800 |
| commit | 7a4ad471c9026c7882504b1c8b730045b4bb74af (patch) | |
| tree | 863a1be06e96de2b96452a2691f93804510d1f38 /src/config.py | |
| parent | f70419cda9ea442ed3e965fcd3b2b4035f124308 (diff) | |
enable vectorized retrieval with sparse matrix operations
Diffstat (limited to 'src/config.py')
| -rw-r--r-- | src/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py index 3ef136c..54677f3 100644 --- a/src/config.py +++ b/src/config.py @@ -17,4 +17,5 @@ class LinearRAGConfig: passage_ratio: float = 1.5 passage_node_weight: float = 0.05 damping: float = 0.5 - iteration_threshold: float = 0.5
\ No newline at end of file + iteration_threshold: float = 0.5 + use_vectorized_retrieval: bool = False # True for vectorized matrix computation, False for BFS iteration
\ No newline at end of file |
