mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-30 00:13:15 +00:00
fixed default init
This commit is contained in:
parent
0e7aff96bb
commit
0c21442ca4
@ -92,7 +92,7 @@ class StorageNameSpace(ABC):
|
||||
@dataclass
|
||||
class BaseVectorStorage(StorageNameSpace, ABC):
|
||||
embedding_func: EmbeddingFunc
|
||||
cosine_better_than_threshold: float
|
||||
cosine_better_than_threshold: float = field(default=0.2)
|
||||
meta_fields: set[str] = field(default_factory=set)
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user