lean-explore 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lean_explore/search/engine.py +4 -3
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/METADATA +1 -1
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/RECORD +7 -7
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/WHEEL +0 -0
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/entry_points.txt +0 -0
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {lean_explore-1.0.1.dist-info → lean_explore-1.0.2.dist-info}/top_level.txt +0 -0
lean_explore/search/engine.py
CHANGED
|
@@ -59,7 +59,7 @@ class SearchEngine:
|
|
|
59
59
|
reranker_model_name: str = "Qwen/Qwen3-Reranker-0.6B",
|
|
60
60
|
faiss_index_path: Path | None = None,
|
|
61
61
|
faiss_ids_map_path: Path | None = None,
|
|
62
|
-
use_local_data: bool =
|
|
62
|
+
use_local_data: bool = False,
|
|
63
63
|
):
|
|
64
64
|
"""Initialize the search engine.
|
|
65
65
|
|
|
@@ -71,8 +71,9 @@ class SearchEngine:
|
|
|
71
71
|
reranker_model_name: Name of the reranker model to use.
|
|
72
72
|
faiss_index_path: Path to FAISS index. Defaults to config path.
|
|
73
73
|
faiss_ids_map_path: Path to FAISS ID mapping. Defaults to config path.
|
|
74
|
-
use_local_data: If True, use DATA_DIRECTORY paths
|
|
75
|
-
CACHE_DIRECTORY paths (for
|
|
74
|
+
use_local_data: If True, use DATA_DIRECTORY paths (for locally
|
|
75
|
+
generated data). If False, use CACHE_DIRECTORY paths (for
|
|
76
|
+
data downloaded via 'lean-explore data fetch').
|
|
76
77
|
"""
|
|
77
78
|
self._embedding_client = embedding_client
|
|
78
79
|
self._embedding_model_name = embedding_model_name
|
|
@@ -26,7 +26,7 @@ lean_explore/models/__init__.py,sha256=G2Xeld_DADq-hhxm1K1CrEPeAM3ylHU2ckCh42Ogx
|
|
|
26
26
|
lean_explore/models/search_db.py,sha256=_a6B6FpqUevyHvW4KmNLeziiznIuxftpMUy0AtSDBJE,2673
|
|
27
27
|
lean_explore/models/search_types.py,sha256=VcFGrK5Z12Cg9f2R-Y6GXGlh2SunyBAJaZ5I4DG0AUw,1442
|
|
28
28
|
lean_explore/search/__init__.py,sha256=0k_iHe5xrurepznk7NzMYz10QFbK10ydMlpFlsuyFSc,1216
|
|
29
|
-
lean_explore/search/engine.py,sha256=
|
|
29
|
+
lean_explore/search/engine.py,sha256=oAsqiltBEXsbur0t77-zG8ATgcZ-8vKX8vvdoPNZsv0,23660
|
|
30
30
|
lean_explore/search/scoring.py,sha256=VkH-kpGheX14_tf8uJYBOp0nrG05_JJLmv7_0QdfAQk,4168
|
|
31
31
|
lean_explore/search/service.py,sha256=6CWN-U5jxv7cTzc7ffitgzNMn3k59LfirpteC4xsvSE,1915
|
|
32
32
|
lean_explore/search/tokenization.py,sha256=1EHd3dbJLwnmrj2SmdU1W8WoyCUnzhJB5gzmZLpWifs,1831
|
|
@@ -35,9 +35,9 @@ lean_explore/util/embedding_client.py,sha256=6XJGJrGTXAiefDr-E1j_SPHTTZMIJYi62Pw
|
|
|
35
35
|
lean_explore/util/logging.py,sha256=hF8YPi-1I6DdC1B_yROXA6u5GG14IIhD0Nym2FfqgRA,649
|
|
36
36
|
lean_explore/util/openrouter_client.py,sha256=C_0HLO5o1seYjGl2zn6897i2onK7CdI6XxtE3cWb3Os,1926
|
|
37
37
|
lean_explore/util/reranker_client.py,sha256=kLCTGPMQuphjwAj0PPi9KXpSzDP7o9JRQJpTbmWGiMs,6074
|
|
38
|
-
lean_explore-1.0.
|
|
39
|
-
lean_explore-1.0.
|
|
40
|
-
lean_explore-1.0.
|
|
41
|
-
lean_explore-1.0.
|
|
42
|
-
lean_explore-1.0.
|
|
43
|
-
lean_explore-1.0.
|
|
38
|
+
lean_explore-1.0.2.dist-info/licenses/LICENSE,sha256=l4QLw1kIvEOjUktmmKm4dycK1E249Qs2s2AQTYbMXpY,11354
|
|
39
|
+
lean_explore-1.0.2.dist-info/METADATA,sha256=MzBiz91-USMmnybIjXQoUrr0ieU1MHOmyFaFdeDPVDc,17084
|
|
40
|
+
lean_explore-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
41
|
+
lean_explore-1.0.2.dist-info/entry_points.txt,sha256=FuKSRE7GmI9B_kM-xoiWEJj2dQ4upqhHnw8qH1vcjW8,59
|
|
42
|
+
lean_explore-1.0.2.dist-info/top_level.txt,sha256=h51BKWrFvB7iym-IlaNAAHX5MZfA8Gmg-aDuXGo0fQ8,13
|
|
43
|
+
lean_explore-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|