using neo4j async

This commit is contained in:
Ken Wiltshire
2024-11-02 18:35:07 -04:00
parent 40e80ebc9d
commit f19af82db1
5 changed files with 141 additions and 179 deletions

View File

@@ -2,6 +2,7 @@ import os
from lightrag import LightRAG, QueryParam
from lightrag.llm import gpt_4o_mini_complete, gpt_4o_complete
#########
# Uncomment the below two lines if running in a jupyter notebook to handle the async nature of rag.insert()
# import nest_asyncio