Problem with loading existing graph #2225
Unanswered
JAPA-scope
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
I’m working with LightRAG and have a saved GraphML graph (e.g. graph_chunk_entity_relation.graphml).
Could someone share a minimal example of loading that graph into a LightRAG instance (so that aquery(...) will use it) — preferably using insert_custom_kg or whatever method you use?
i'm using v1.4.9.3
Error msg
Traceback (most recent call last):
File ".../main.py", line 192, in
asyncio.run(main2(question))
…
File "…/lightrag.py", line 1863, in insert_custom_kg
loop.run_until_complete(self.ainsert_custom_kg(...))
File ".../base_events.py", line 622, in _check_running
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions