fixed default factory
Browse files- lightrag/lightrag.py +1 -1
lightrag/lightrag.py
CHANGED
@@ -184,7 +184,7 @@ class LightRAG:
|
|
184 |
"""Maximum number of concurrent embedding function calls."""
|
185 |
|
186 |
embedding_cache_config: dict[str, Any] = field(
|
187 |
-
|
188 |
"enabled": False,
|
189 |
"similarity_threshold": 0.95,
|
190 |
"use_llm_check": False,
|
|
|
184 |
"""Maximum number of concurrent embedding function calls."""
|
185 |
|
186 |
embedding_cache_config: dict[str, Any] = field(
|
187 |
+
default_factory= lambda: {
|
188 |
"enabled": False,
|
189 |
"similarity_threshold": 0.95,
|
190 |
"use_llm_check": False,
|