fixed last update

This commit is contained in:
Yannick Stephan
2025-02-20 14:12:19 +01:00
parent 3e820cc68e
commit 214e3e8ad5
4 changed files with 6 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ def main():
),
vector_storage="FaissVectorDBStorage",
vector_db_storage_cls_kwargs={
"cosine_better_than_threshold": 0.3 # Your desired threshold
"cosine_better_than_threshold": 0.2 # Your desired threshold
},
)

View File

@@ -1,5 +1,5 @@
from .lightrag import LightRAG as LightRAG, QueryParam as QueryParam
__version__ = "1.1.7"
__version__ = "1.1.10"
__author__ = "Zirui Guo"
__url__ = "https://github.com/HKUDS/LightRAG"

View File

@@ -16,12 +16,12 @@ import pipmaster as pm
if not pm.is_installed("networkx"):
pm.install("networkx")
if not pm.is_installed("graspologic"):
pm.install("graspologic")
from graspologic import embed
import networkx as nx
from graspologic import embed
@final
@dataclass

View File

@@ -738,7 +738,6 @@ class LightRAG:
if new_kg is None:
logger.info("No new entities or relationships extracted.")
else:
async with self._entity_lock:
logger.info("New entities or relationships extracted.")
self.chunk_entity_relation_graph = new_kg