Skip to content

Commit 0dec748

Browse files
committed
Remove debug logging
1 parent 16c5b65 commit 0dec748

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

fast_graphrag/_storage/_vdb_hnswlib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ async def get_knn(
7373

7474
if top_k > self.config.ef_search:
7575
self._index.set_ef(top_k)
76-
logger.error(top_k)
7776

7877
ids, distances = self._index.knn_query(data=embeddings, k=top_k, num_threads=self.config.num_threads)
7978

@@ -95,7 +94,6 @@ async def score_all(
9594
if top_k > self.config.ef_search:
9695
self._index.set_ef(top_k)
9796

98-
logger.error(top_k)
9997
ids, distances = self._index.knn_query(data=embeddings, k=top_k, num_threads=self.config.num_threads)
10098

10199
ids = np.array(ids)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fast-graphrag"
3-
version = "0.0.2-post0"
3+
version = "0.0.2-post2"
44
description = ""
55
authors = ["Luca Pinchetti <[email protected]>", "Antonio Vespoli <[email protected]>", "Yuhang Song <[email protected]>"]
66
packages = [{include = "fast_graphrag" }]

0 commit comments

Comments
 (0)