From 7a4ad471c9026c7882504b1c8b730045b4bb74af Mon Sep 17 00:00:00 2001 From: CHEN SHENGYUAN Date: Thu, 18 Dec 2025 15:35:33 +0800 Subject: enable vectorized retrieval with sparse matrix operations --- src/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config.py') 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 -- cgit v1.2.3