-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use lightrag-1.0..5 TypeError: lazy_external_import.<locals>.import_class() got an unexpected keyword argument 'namespace' #457
Comments
+1 |
i'm facing the same issue. It should be a problem of inconsistent engineering paths. try modify lightrag.py #line 70-81
After I made the change like this, it started running. |
No need to add these, this is a feature submitted in the new version. Just add the ”lightrag“ before ".kg" on your own version. |
Note that you need to add () after "import_class" in line 63 |
rag = LightRAG(
working_dir=WORKING_DIR,
llm_model_func=llm_model_func,
embedding_func=EmbeddingFunc(
embedding_dim=embedding_dimension,
max_token_size=8192,
func=embedding_func,
),
graph_storage="Neo4JStorage",
log_level="DEBUG",
), TypeError: lazy_external_import..import_class() got an unexpected keyword argument 'namespace'
The text was updated successfully, but these errors were encountered: